diff options
author | ahze <ahze@FreeBSD.org> | 2006-11-07 07:26:20 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-11-07 07:26:20 +0800 |
commit | 279b2042d13aec6e657032d7c5325093523a3349 (patch) | |
tree | 1dc3fd8b7cb252d8d811af9e2dfcfcfcc02e4c61 /www/firefox | |
parent | 4669b74d81673b97fec1bb528235cc0a0d13e849 (diff) | |
download | freebsd-ports-gnome-279b2042d13aec6e657032d7c5325093523a3349.tar.gz freebsd-ports-gnome-279b2042d13aec6e657032d7c5325093523a3349.tar.zst freebsd-ports-gnome-279b2042d13aec6e657032d7c5325093523a3349.zip |
Fix build on 5.x since only 6.1+ has fedisableexcept()
Reported by: Clint Olsen <clint@0lsen.net>
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/files/patch-js_src_jsnum.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) + |