summaryrefslogtreecommitdiff
path: root/deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h')
-rw-r--r--deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h b/deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h
new file mode 100644
index 000000000000..f8b6864677a9
--- /dev/null
+++ b/deskutils/lightning/files/patch-mozilla-content-xslt-public-txDouble.h
@@ -0,0 +1,11 @@
+--- mozilla/content/xslt/public/txDouble.h.orig 2010-01-22 18:50:16.000000000 +0100
++++ mozilla/content/xslt/public/txDouble.h 2010-01-22 18:50:38.000000000 +0100
+@@ -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;