aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-esr
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-11-07 07:26:20 +0800
committerahze <ahze@FreeBSD.org>2006-11-07 07:26:20 +0800
commit279b2042d13aec6e657032d7c5325093523a3349 (patch)
tree1dc3fd8b7cb252d8d811af9e2dfcfcfcc02e4c61 /www/firefox-esr
parent4669b74d81673b97fec1bb528235cc0a0d13e849 (diff)
downloadfreebsd-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-esr')
-rw-r--r--www/firefox-esr/files/patch-js_src_jsnum.c2
1 files changed, 1 insertions, 1 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))
+