aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird-esr
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-01-31 01:01:54 +0800
committerflo <flo@FreeBSD.org>2012-01-31 01:01:54 +0800
commit764354b9fddf961d63952c40b37731a6137aff4e (patch)
tree40f9f4e76275041d339cdaee78e7fb505e35e99d /mail/thunderbird-esr
parentfe0d34f88db2c7eedecda4305661c65d51788925 (diff)
downloadfreebsd-ports-gnome-764354b9fddf961d63952c40b37731a6137aff4e.tar.gz
freebsd-ports-gnome-764354b9fddf961d63952c40b37731a6137aff4e.tar.zst
freebsd-ports-gnome-764354b9fddf961d63952c40b37731a6137aff4e.zip
fix build on sparc64
Diffstat (limited to 'mail/thunderbird-esr')
-rw-r--r--mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in28
1 files changed, 22 insertions, 6 deletions
diff --git a/mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in b/mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in
index 6600b16b2f46..413c55fb9348 100644
--- a/mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in
+++ b/mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in
@@ -1,6 +1,6 @@
---- mozilla/js/src/configure.in.orig 2011-09-28 14:41:24.000000000 +0200
-+++ mozilla/js/src/configure.in 2011-10-01 16:02:43.000000000 +0200
-@@ -1533,7 +1533,7 @@
+--- mozilla/js/src/configure.in.orig 2011-12-21 00:28:21.000000000 +0100
++++ mozilla/js/src/configure.in 2012-01-29 13:08:44.000000000 +0100
+@@ -1432,7 +1432,7 @@
CPU_ARCH=sparc
;;
@@ -9,7 +9,7 @@
CPU_ARCH="$OS_TEST"
;;
-@@ -1555,7 +1555,7 @@
+@@ -1454,7 +1454,7 @@
dnl ===============================================================
INTEL_ARCHITECTURE=
case "$OS_TEST" in
@@ -18,7 +18,7 @@
INTEL_ARCHITECTURE=1
esac
-@@ -2743,6 +2743,16 @@
+@@ -2491,6 +2491,16 @@
AC_DEFINE(JS_CPU_X86)
AC_DEFINE(JS_NUNBOX32)
;;
@@ -35,7 +35,23 @@
x86_64*-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=X64
-@@ -2827,6 +2837,10 @@
+@@ -2512,6 +2522,7 @@
+ AC_DEFINE(JS_NUNBOX32)
+ ;;
+ sparc*-*)
++ if test ! "$HAVE_64BIT_OS" ; then
+ ENABLE_TRACEJIT=1
+ NANOJIT_ARCH=Sparc
+ ENABLE_METHODJIT=1
+@@ -2520,6 +2531,7 @@
+ ENABLE_METHODJIT_TYPED_ARRAY=1
+ AC_DEFINE(JS_CPU_SPARC)
+ AC_DEFINE(JS_NUNBOX32)
++ fi
+ ;;
+ esac
+
+@@ -2575,6 +2587,10 @@
i?86-*)
AC_DEFINE(AVMPLUS_IA32)
;;