mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
o) Unbreak compilation error on FreeBSD 5.2 (remove patch-ai)
This commit is contained in:
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
|
@ -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/ :-)
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue