svn commit: r368343 - in head/math/gsl: . files
Sean Bruno
sbruno at FreeBSD.org
Tue Sep 16 19:04:11 UTC 2014
Author: sbruno
Date: Tue Sep 16 19:04:09 2014
New Revision: 368343
URL: http://svnweb.freebsd.org/changeset/ports/368343
QAT: https://qat.redports.org/buildarchive/r368343/
Log:
Fix all non-x86 builds of math/gsl with a more general approach than the
specifically powerpc patch file.
Drop patch-ieee-utils-fp-freebsd.c alltogether and change the order
of #ifdefs in the setup to pull in fp-gnuc99.c instead of fp-freebsd.cc
Verified on redports for x86 builds and am bumping port revision.
Suggested by: nathanw
Phabric: https://reviews.freebsd.org/D787
Reviewed by: nathanw
Approved by: bdrewery (mentor)
Added:
head/math/gsl/files/patch-ieee-utils__fp.c (contents, props changed)
Deleted:
head/math/gsl/files/patch-ieee-utils-fp-freebsd.c
Modified:
head/math/gsl/Makefile
Modified: head/math/gsl/Makefile
==============================================================================
--- head/math/gsl/Makefile Tue Sep 16 18:25:05 2014 (r368342)
+++ head/math/gsl/Makefile Tue Sep 16 19:04:09 2014 (r368343)
@@ -3,7 +3,7 @@
PORTNAME= gsl
PORTVERSION= 1.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= GNU
Added: head/math/gsl/files/patch-ieee-utils__fp.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gsl/files/patch-ieee-utils__fp.c Tue Sep 16 19:04:09 2014 (r368343)
@@ -0,0 +1,20 @@
+--- ieee-utils/fp.c.orig 2014-09-16 17:19:39 UTC
++++ ieee-utils/fp.c
+@@ -22,6 +22,8 @@
+ #include "fp-aix.c"
+ #elif HAVE_TRU64_IEEE_INTERFACE
+ #include "fp-tru64.c"
++#elif HAVE_DECL_FEENABLEEXCEPT || HAVE_DECL_FESETTRAPENABLE
++#include "fp-gnuc99.c"
+ #elif HAVE_FREEBSD_IEEE_INTERFACE
+ #include "fp-freebsd.c"
+ #elif HAVE_OS2EMX_IEEE_INTERFACE
+@@ -43,8 +45,6 @@
+ # else
+ # include "fp-darwin86.c"
+ #endif
+-#elif HAVE_DECL_FEENABLEEXCEPT || HAVE_DECL_FESETTRAPENABLE
+-#include "fp-gnuc99.c"
+ #else
+ #include "fp-unknown.c"
+ #endif
More information about the svn-ports-all
mailing list