Bug 50252 - math/grace does not compile on HEAD
Summary: math/grace does not compile on HEAD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: lkoeller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-24 16:10 UTC by David Yeske
Modified: 2003-04-06 09:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Yeske 2003-03-24 16:10:15 UTC
this patch is a workaround for "isnan" detection

Fix: http://pigseye.kennesaw.edu/~dyeske/freebsd/patch-cmath.h




#ifndef HAVE_ISNAN_DECL
+#ifdef __FreeBSD__
+#  include <sys/param.h>
+#  if __FreeBSD_version < 500100
+extern int isnan ( double x );
+#  endif
+#endif
+#else
 extern int isnan ( double x );
 #endif







__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com--ToXrab7jko8Ctn6DcwOi7xPmH3xShBPQEcQ6SgcIz6kZjKuv
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- cmath.h.origTue Mar  7 17:26:42 2000
+++ cmath.hThu Feb 27 17:05:07 2003
@@ -170,5 +170,12 @@
 #endif
How-To-Repeat: attempt to compile on HEAD

In file included from mconf.h:70,
                 from airy.c:59:
../cmath.h:173: syntax error before "sizeof"
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-04-05 19:59:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lkoeller

Over to Maintainer
Comment 2 lkoeller freebsd_committer freebsd_triage 2003-04-06 09:49:13 UTC
State Changed
From-To: open->closed

Fix was included in last port commit on Mar 24th.