summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/guppi/distinfo3
-rw-r--r--math/guppi/patches/patch-aa18
2 files changed, 20 insertions, 1 deletions
diff --git a/math/guppi/distinfo b/math/guppi/distinfo
index ac3d243ec41..914ab12ffd9 100644
--- a/math/guppi/distinfo
+++ b/math/guppi/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.6 2002/05/15 20:44:15 mjl Exp $
+$NetBSD: distinfo,v 1.7 2003/11/19 00:00:01 sommerfeld Exp $
SHA1 (Guppi-0.40.3.tar.bz2) = 7435bddddca9e3347efb006ad33198fbbe593ea7
Size (Guppi-0.40.3.tar.bz2) = 1016831 bytes
+SHA1 (patch-aa) = 74b82a9fbf545d1c606f9b91c54259229f718c7d
diff --git a/math/guppi/patches/patch-aa b/math/guppi/patches/patch-aa
new file mode 100644
index 00000000000..6329d2bd37a
--- /dev/null
+++ b/math/guppi/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.6 2003/11/19 00:00:01 sommerfeld Exp $
+
+--- src/libguppispecfns/const.c.orig 2001-05-05 14:16:23.000000000 -0400
++++ src/libguppispecfns/const.c
+@@ -93,11 +93,13 @@ double LOGE2 = 6.93147180559945309417E-1
+ double LOGSQ2 = 3.46573590279972654709E-1; /* log(2)/2 */
+ double THPIO4 = 2.35619449019234492885; /* 3*pi/4 */
+ double TWOOPI = 6.36619772367581343075535E-1; /* 2/pi */
++#ifndef INFINITY
+ #ifdef INFINITIES
+ double INFINITY = 1.0 / 0.0; /* 99e999; */
+ #else
+ double INFINITY = 1.79769313486231570815E308; /* 2**1024*(1-MACHEP) */
+ #endif
++#endif
+
+ #ifdef MINUSZERO
+ double NEGZERO = -0.0;