Bug 50252

Summary: math/grace does not compile on HEAD
Product: Ports & Packages Reporter: David Yeske <dyeske>
Component: Individual Port(s)Assignee: lkoeller <lkoeller>
Status: Closed FIXED    
Severity: Affects Only Me CC: Lars.Koeller
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

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.