pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/guppi Fix build of const.o on -current by adding ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25e5a1416db8
branches:  trunk
changeset: 463592:25e5a1416db8
user:      sommerfeld <sommerfeld%pkgsrc.org@localhost>
date:      Wed Nov 19 00:00:01 2003 +0000

description:
Fix build of const.o on -current by adding #ifdef INFINITY

diffstat:

 math/guppi/distinfo         |   3 ++-
 math/guppi/patches/patch-aa |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 5dfbdc42812e -r 25e5a1416db8 math/guppi/distinfo
--- a/math/guppi/distinfo       Tue Nov 18 21:11:11 2003 +0000
+++ b/math/guppi/distinfo       Wed Nov 19 00:00:01 2003 +0000
@@ -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 -r 5dfbdc42812e -r 25e5a1416db8 math/guppi/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/guppi/patches/patch-aa       Wed Nov 19 00:00:01 2003 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index