aboutsummaryrefslogtreecommitdiffstats
path: root/community/dia/isinf.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-01 11:50:13 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-01 11:50:13 +0200
commit08f706c5eaf2724dc8256eead79287bdb36be051 (patch)
tree02fdde6783feefd0d0b53a0ba9deef1feae122f9 /community/dia/isinf.patch
parentf0af06ef1fa957b31ac762bfbcb88339df178fa0 (diff)
downloadaports-08f706c5eaf2724dc8256eead79287bdb36be051.tar.bz2
aports-08f706c5eaf2724dc8256eead79287bdb36be051.tar.xz
community/dia: moved from testing
Diffstat (limited to 'community/dia/isinf.patch')
-rw-r--r--community/dia/isinf.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/dia/isinf.patch b/community/dia/isinf.patch
new file mode 100644
index 0000000000..4cd4adbc86
--- /dev/null
+++ b/community/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;
+ }