aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-03-02 14:31:29 +0800
committermarcus <marcus@FreeBSD.org>2006-03-02 14:31:29 +0800
commitbb091f974235c0ae6b71d81d880f767f9c828523 (patch)
tree22c6cc70a3d76361c0978df49f83461b64c9fa1e /deskutils
parent0e118c870ea0873cc822bfe2084f84871bddb8f3 (diff)
downloadfreebsd-ports-gnome-bb091f974235c0ae6b71d81d880f767f9c828523.tar.gz
freebsd-ports-gnome-bb091f974235c0ae6b71d81d880f767f9c828523.tar.zst
freebsd-ports-gnome-bb091f974235c0ae6b71d81d880f767f9c828523.zip
Fix the build on sparc64.
Approved by: portmgr (implicit)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/lightning-thunderbird/files/patch-extensions_transformiix_source_base_Double.cpp23
-rw-r--r--deskutils/lightning/files/patch-extensions_transformiix_source_base_Double.cpp23
-rw-r--r--deskutils/sunbird/files/patch-extensions_transformiix_source_base_Double.cpp23
3 files changed, 69 insertions, 0 deletions
diff --git a/deskutils/lightning-thunderbird/files/patch-extensions_transformiix_source_base_Double.cpp b/deskutils/lightning-thunderbird/files/patch-extensions_transformiix_source_base_Double.cpp
new file mode 100644
index 000000000000..38ce7ec12167
--- /dev/null
+++ b/deskutils/lightning-thunderbird/files/patch-extensions_transformiix_source_base_Double.cpp
@@ -0,0 +1,23 @@
+--- extensions/transformiix/source/base/Double.cpp.orig Mon Feb 6 15:40:52 2006
++++ extensions/transformiix/source/base/Double.cpp Mon Feb 6 15:51:01 2006
+@@ -52,11 +52,16 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
+-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;
++#if !defined(FP_X_DNML)
++#define FP_X_DNML 0
+ #endif
++#if !defined(FP_X_STK)
++#define FP_X_STK 0
++#endif
++#if !defined(FP_X_IOV)
++#define FP_X_IOV 0
++#endif
++fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML|FP_X_STK|FP_X_IOV;
+ fp_except_t oldmask = fpsetmask(~allmask);
+ #endif
+
diff --git a/deskutils/lightning/files/patch-extensions_transformiix_source_base_Double.cpp b/deskutils/lightning/files/patch-extensions_transformiix_source_base_Double.cpp
new file mode 100644
index 000000000000..38ce7ec12167
--- /dev/null
+++ b/deskutils/lightning/files/patch-extensions_transformiix_source_base_Double.cpp
@@ -0,0 +1,23 @@
+--- extensions/transformiix/source/base/Double.cpp.orig Mon Feb 6 15:40:52 2006
++++ extensions/transformiix/source/base/Double.cpp Mon Feb 6 15:51:01 2006
+@@ -52,11 +52,16 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
+-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;
++#if !defined(FP_X_DNML)
++#define FP_X_DNML 0
+ #endif
++#if !defined(FP_X_STK)
++#define FP_X_STK 0
++#endif
++#if !defined(FP_X_IOV)
++#define FP_X_IOV 0
++#endif
++fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML|FP_X_STK|FP_X_IOV;
+ fp_except_t oldmask = fpsetmask(~allmask);
+ #endif
+
diff --git a/deskutils/sunbird/files/patch-extensions_transformiix_source_base_Double.cpp b/deskutils/sunbird/files/patch-extensions_transformiix_source_base_Double.cpp
new file mode 100644
index 000000000000..38ce7ec12167
--- /dev/null
+++ b/deskutils/sunbird/files/patch-extensions_transformiix_source_base_Double.cpp
@@ -0,0 +1,23 @@
+--- extensions/transformiix/source/base/Double.cpp.orig Mon Feb 6 15:40:52 2006
++++ extensions/transformiix/source/base/Double.cpp Mon Feb 6 15:51:01 2006
+@@ -52,11 +52,16 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
+-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;
++#if !defined(FP_X_DNML)
++#define FP_X_DNML 0
+ #endif
++#if !defined(FP_X_STK)
++#define FP_X_STK 0
++#endif
++#if !defined(FP_X_IOV)
++#define FP_X_IOV 0
++#endif
++fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML|FP_X_STK|FP_X_IOV;
+ fp_except_t oldmask = fpsetmask(~allmask);
+ #endif
+