summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-content-xslt-public-txDouble.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-content-xslt-public-txDouble.h')
-rw-r--r--www/firefox-esr/files/patch-content-xslt-public-txDouble.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-content-xslt-public-txDouble.h b/www/firefox-esr/files/patch-content-xslt-public-txDouble.h
new file mode 100644
index 000000000000..cd4acfc534bf
--- /dev/null
+++ b/www/firefox-esr/files/patch-content-xslt-public-txDouble.h
@@ -0,0 +1,11 @@
+--- content/xslt/public/txDouble.h.orig 2009-08-16 21:46:27.000000000 +0200
++++ content/xslt/public/txDouble.h 2009-08-16 21:49:53.000000000 +0200
+@@ -43,7 +43,7 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
++#if !defined(__amd64__) && !defined(__i386__)
+ static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
+ #else
+ static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;