o) Unbreak compilation error on FreeBSD 5.2 (remove patch-ai)

This commit is contained in:
Lars Koeller 2004-05-24 18:59:13 +00:00
parent 63d81145bf
commit 7d376c7864
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109887
2 changed files with 1 additions and 16 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= grace
PORTVERSION= 5.1.14
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math print
#
# You never know when and why it is moved to ../src/old/ :-)

View file

@ -1,15 +0,0 @@
--- cmath.h.orig Fri Dec 12 21:33:45 2003
+++ cmath.h Thu Jan 22 22:22:45 2004
@@ -175,5 +175,12 @@
#endif
#if !defined(HAVE_ISNAN_DECL) && !defined(HAVE_ISNAN_MACRO)
+#ifdef __FreeBSD__
+# include <sys/param.h>
+# if __FreeBSD_version < 500100
+extern int isnan ( double x );
+# endif
+#endif
+#else
extern int isnan ( double x );
#endif