FreeBSD Bugzilla – Attachment 62581 Details for
Bug 93520
Patch for astro/libnova to relieve gcc33 dependency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libnova.patch
libnova.patch (text/plain), 1.33 KB, created by
Frank W. Josellis
on 2006-02-18 10:10:04 UTC
(
hide
)
Description:
libnova.patch
Filename:
MIME Type:
Creator:
Frank W. Josellis
Created:
2006-02-18 10:10:04 UTC
Size:
1.33 KB
patch
obsolete
>diff -Nur libnova.BAK/Makefile libnova/Makefile >--- libnova.BAK/Makefile Mon Nov 28 21:04:52 2005 >+++ libnova/Makefile Sat Feb 18 09:05:20 2006 >@@ -8,6 +8,7 @@ > > PORTNAME= libnova > PORTVERSION= 0.11.0 >+PORTREVISION= 1 > CATEGORIES= astro > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -19,7 +20,6 @@ > USE_REINPLACE= yes > USE_AUTOTOOLS= libtool:15 > INSTALLS_SHLIB= yes >-USE_GCC= 3.3 > > .include <bsd.port.pre.mk> > >diff -Nur libnova.BAK/files/patch-src_hyperbolic_motion.c libnova/files/patch-src_hyperbolic_motion.c >--- libnova.BAK/files/patch-src_hyperbolic_motion.c Thu Jan 1 01:00:00 1970 >+++ libnova/files/patch-src_hyperbolic_motion.c Sat Feb 18 09:05:20 2006 >@@ -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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 93520
: 62581