summaryrefslogtreecommitdiffstats
path: root/testing/dia/isinf.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-23 21:20:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-23 21:20:48 +0000
commita41050e33306c122c97ffddaa3807cf1412ce3b1 (patch)
tree3c899f3bf3ee0d8218365dd417a0452a7569aff0 /testing/dia/isinf.patch
parentd6bf8e6ceffe191bda5bb535d5f9f9d118f3daea (diff)
downloadaports-a41050e33306c122c97ffddaa3807cf1412ce3b1.tar.bz2
aports-a41050e33306c122c97ffddaa3807cf1412ce3b1.tar.xz
testing/dia: new aport
a GTK+ based diagram creation program http://live.gnome.org/Dia
Diffstat (limited to 'testing/dia/isinf.patch')
-rw-r--r--testing/dia/isinf.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/dia/isinf.patch b/testing/dia/isinf.patch
new file mode 100644
index 000000000..4cd4adbc8
--- /dev/null
+++ b/testing/dia/isinf.patch
@@ -0,0 +1,16 @@
+--- ./configure.orig
++++ ./configure
+@@ -17436,11 +17436,11 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char isinf ();
++#include <math.h>
+ int
+ main ()
+ {
+-return isinf ();
++return isinf (0.0);
+ ;
+ return 0;
+ }