aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/guppi/files/patch-src_libguppispecfns_const.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/guppi/files/patch-src_libguppispecfns_const.c b/math/guppi/files/patch-src_libguppispecfns_const.c
new file mode 100644
index 00000000000..6ad9d5ad1cf
--- /dev/null
+++ b/math/guppi/files/patch-src_libguppispecfns_const.c
@@ -0,0 +1,12 @@
+--- src/libguppispecfns/const.c.orig Tue Apr 1 21:01:25 2003
++++ src/libguppispecfns/const.c Tue Apr 1 21:01:35 2003
+@@ -96,7 +96,9 @@
+ #ifdef INFINITIES
+ double INFINITY = 1.0 / 0.0; /* 99e999; */
+ #else
++#ifndef INFINITY
+ double INFINITY = 1.79769313486231570815E308; /* 2**1024*(1-MACHEP) */
++#endif
+ #endif
+
+ #ifdef MINUSZERO