summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-02 03:33:32 +0000
committermarcus <marcus@FreeBSD.org>2003-04-02 03:33:32 +0000
commit733352f13f239109a82a55a6ae82c12ab1a80900 (patch)
tree20866b49bd8645bd433518c9013ac7ac72b78323 /math
parent8730fc2897b060040f75a58c8f410a5de980dee9 (diff)
downloadFreeBSD-ports-733352f13f239109a82a55a6ae82c12ab1a80900.zip
FreeBSD-ports-733352f13f239109a82a55a6ae82c12ab1a80900.tar.gz
Fix build on -CURRENT.
PR: 48839
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 0000000..6ad9d5a
--- /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
OpenPOWER on IntegriCloud