diff options
author | mnag <mnag@FreeBSD.org> | 2006-02-19 05:25:14 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-02-19 05:25:14 +0800 |
commit | aac5214afb95e17b83ef7f1d68d07e6f3f0f962c (patch) | |
tree | 12f9fbf070fa01d93040e2af51b30cc5783a2c80 /astro/libnova/files | |
parent | f252bdbd4ac1b7646c3440080adb4363327440a8 (diff) | |
download | freebsd-ports-gnome-aac5214afb95e17b83ef7f1d68d07e6f3f0f962c.tar.gz freebsd-ports-gnome-aac5214afb95e17b83ef7f1d68d07e6f3f0f962c.tar.zst freebsd-ports-gnome-aac5214afb95e17b83ef7f1d68d07e6f3f0f962c.zip |
- Change nan("chars") to strtod("NAN(chars)", NULL) and remove dependency of gcc 3.3
- Bump PORTREVISION
- portlint(1)
PR: 93520
Submitted by: Frank W. Josellis <frank@dynamical-systems.org>
Diffstat (limited to 'astro/libnova/files')
-rw-r--r-- | astro/libnova/files/patch-src_hyperbolic_motion.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/astro/libnova/files/patch-src_hyperbolic_motion.c b/astro/libnova/files/patch-src_hyperbolic_motion.c new file mode 100644 index 000000000000..f5af5ce7154c --- /dev/null +++ b/astro/libnova/files/patch-src_hyperbolic_motion.c @@ -0,0 +1,17 @@ +--- src/hyperbolic_motion.c.orig Tue Jul 5 11:09:22 2005 ++++ src/hyperbolic_motion.c Sat Feb 18 02:17:12 2006 +@@ -69,12 +69,12 @@ + F = Z1 * G1; + Q3 = Q3 + F; + if (Z > 100 || fabs(F) > 10000) +- return nan("0"); ++ return strtod("NAN(0)", NULL); + if (fabs(F) > PREC) + goto next_z; + L++; + if (L > 100) +- return nan("0"); ++ return strtod("NAN(0)", NULL); + do + { + S1 = S; |