From 2d7aa4336b297cfad86898e859a9d8c2ecb16920 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 2 Apr 2003 03:33:32 +0000 Subject: Fix build on -CURRENT. PR: 48839 --- math/guppi/files/patch-src_libguppispecfns_const.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 math/guppi/files/patch-src_libguppispecfns_const.c (limited to 'math') 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 -- cgit v1.2.3