diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2014-09-16 19:04:09 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2014-09-16 19:04:09 +0000 |
commit | 73ee5e70c56e490b15df94425d9283da925a50db (patch) | |
tree | 61ba4302a38e1ccfd62546808cad615bf82ee156 /math/gsl/files/patch-ieee-utils__fp.c | |
parent | New port: www/p5-Dancer-Plugin-Memcached: (diff) |
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)
Notes
Notes:
svn path=/head/; revision=368343
Diffstat (limited to 'math/gsl/files/patch-ieee-utils__fp.c')
-rw-r--r-- | math/gsl/files/patch-ieee-utils__fp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/gsl/files/patch-ieee-utils__fp.c b/math/gsl/files/patch-ieee-utils__fp.c new file mode 100644 index 000000000000..692a0112c195 --- /dev/null +++ b/math/gsl/files/patch-ieee-utils__fp.c @@ -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 |