aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-02 03:33:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-02 03:33:32 +0000
commit2d7aa4336b297cfad86898e859a9d8c2ecb16920 (patch)
tree5664b201cdcde0eaea7b4a0cfc2e77d5f7346a97 /math
parentf9362c78869d2a1db13bb1c33130f6643c66fb40 (diff)
downloadports-2d7aa4336b297cfad86898e859a9d8c2ecb16920.tar.gz
ports-2d7aa4336b297cfad86898e859a9d8c2ecb16920.zip
Fix build on -CURRENT.
PR: 48839
Notes
Notes: svn path=/head/; revision=77936
Diffstat (limited to 'math')
-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 000000000000..6ad9d5ad1cf8
--- /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