aboutsummaryrefslogtreecommitdiff
path: root/www/firefox-esr
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-01-29 18:44:54 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-01-29 18:44:54 +0000
commit59bc790146d5047b45de57a15c5351de7d4a45e4 (patch)
tree7fffcf8592c4312826d50ac0bb895f7f73b3067f /www/firefox-esr
parent63e65c8a2ceee207dbc922e15fe6ceba014911a0 (diff)
fix build on sparc64
PR: ports/164596 Submitted by: dumbbell
Notes
Notes: svn path=/head/; revision=290049
Diffstat (limited to 'www/firefox-esr')
-rw-r--r--www/firefox-esr/files/patch-js-src-configure.in28
1 files changed, 22 insertions, 6 deletions
diff --git a/www/firefox-esr/files/patch-js-src-configure.in b/www/firefox-esr/files/patch-js-src-configure.in
index d6157efdc313..bc5c9235275d 100644
--- a/www/firefox-esr/files/patch-js-src-configure.in
+++ b/www/firefox-esr/files/patch-js-src-configure.in
@@ -1,6 +1,6 @@
---- js/src/configure.in.orig 2011-09-28 14:41:24.000000000 +0200
-+++ js/src/configure.in 2011-10-01 16:02:43.000000000 +0200
-@@ -1533,7 +1533,7 @@
+--- js/src/configure.in.orig 2011-12-21 00:28:21.000000000 +0100
++++ 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)
;;