diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-11-06 23:26:20 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-11-06 23:26:20 +0000 |
commit | 5c2ed478d152cc8e2480d9cb1504dae1fbae9382 (patch) | |
tree | cbd0973aca1b43217936d08b81c13ad890086278 | |
parent | Upgrade to CImg v.1.1.7. (diff) |
Fix build on 5.x since only 6.1+ has fedisableexcept()
Reported by: Clint Olsen <clint@0lsen.net>
Notes
Notes:
svn path=/head/; revision=176663
-rw-r--r-- | www/firefox-esr/files/patch-js_src_jsnum.c | 2 | ||||
-rw-r--r-- | www/firefox/files/patch-js_src_jsnum.c | 2 | ||||
-rw-r--r-- | www/firefox36/files/patch-js_src_jsnum.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/www/firefox-esr/files/patch-js_src_jsnum.c b/www/firefox-esr/files/patch-js_src_jsnum.c index 74a9eca5d352..a3ef2769ab9c 100644 --- a/www/firefox-esr/files/patch-js_src_jsnum.c +++ b/www/firefox-esr/files/patch-js_src_jsnum.c @@ -14,7 +14,7 @@ #else -+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000 ++#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 +#include <fenv.h> +#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT)) + diff --git a/www/firefox/files/patch-js_src_jsnum.c b/www/firefox/files/patch-js_src_jsnum.c index 74a9eca5d352..a3ef2769ab9c 100644 --- a/www/firefox/files/patch-js_src_jsnum.c +++ b/www/firefox/files/patch-js_src_jsnum.c @@ -14,7 +14,7 @@ #else -+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000 ++#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 +#include <fenv.h> +#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT)) + diff --git a/www/firefox36/files/patch-js_src_jsnum.c b/www/firefox36/files/patch-js_src_jsnum.c index 74a9eca5d352..a3ef2769ab9c 100644 --- a/www/firefox36/files/patch-js_src_jsnum.c +++ b/www/firefox36/files/patch-js_src_jsnum.c @@ -14,7 +14,7 @@ #else -+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000 ++#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 +#include <fenv.h> +#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT)) + |