aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-08 07:15:01 +0800
committermarcus <marcus@FreeBSD.org>2003-06-08 07:15:01 +0800
commit73df9afb3b8b1666380cbd51469b10aa61a30e72 (patch)
tree30783d6bc24ade8d3960cc1f32df413633e640e5 /www/mozilla-devel
parent745d211ff042f4470c9df0ffe9f99c37920b85c7 (diff)
downloadfreebsd-ports-gnome-73df9afb3b8b1666380cbd51469b10aa61a30e72.tar.gz
freebsd-ports-gnome-73df9afb3b8b1666380cbd51469b10aa61a30e72.tar.zst
freebsd-ports-gnome-73df9afb3b8b1666380cbd51469b10aa61a30e72.zip
Add a forgotten patch to fix the build on Sparc64.
Reminded (and submitted) by: kris
Diffstat (limited to 'www/mozilla-devel')
-rw-r--r--www/mozilla-devel/files/patch-Double.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mozilla-devel/files/patch-Double.cpp b/www/mozilla-devel/files/patch-Double.cpp
new file mode 100644
index 000000000000..3dabc0260c14
--- /dev/null
+++ b/www/mozilla-devel/files/patch-Double.cpp
@@ -0,0 +1,11 @@
+--- extensions/transformiix/source/base/Double.cpp.orig Wed May 21 04:42:05 2003
++++ extensions/transformiix/source/base/Double.cpp Wed May 21 04:42:24 2003
+@@ -51,7 +51,7 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
++#if defined(__alpha__) || defined(__sparc64__)
+ fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
+ #else
+ fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;