summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr/files
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-01-31 21:23:27 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-01-31 21:23:27 +0000
commitade7c2a30885554e4ec2c313f5ba43d0acfc881c (patch)
tree8fa33d192261c524c78f466f6c7d3ca646a5670b /mail/thunderbird-esr/files
parentupdate to 1.9.2.26 (diff)
update to 10.0
In collaboration with: beat
Notes
Notes: svn path=/head/; revision=290200
Diffstat (limited to 'mail/thunderbird-esr/files')
-rw-r--r--mail/thunderbird-esr/files/patch-mozilla-js-src-configure.in20
-rw-r--r--mail/thunderbird-esr/files/patch-mozilla-js-src-jscpucfg.h22
2 files changed, 32 insertions, 10 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 413c55fb9348..32d7d18a0aa0 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-12-21 00:28:21.000000000 +0100
-+++ mozilla/js/src/configure.in 2012-01-29 13:08:44.000000000 +0100
-@@ -1432,7 +1432,7 @@
+--- mozilla/js/src/configure.in.orig 2012-01-29 15:44:24.000000000 +0100
++++ mozilla/js/src/configure.in 2012-01-30 23:37:46.541060008 +0100
+@@ -1410,7 +1410,7 @@
CPU_ARCH=sparc
;;
@@ -9,7 +9,7 @@
CPU_ARCH="$OS_TEST"
;;
-@@ -1454,7 +1454,7 @@
+@@ -1432,7 +1432,7 @@
dnl ===============================================================
INTEL_ARCHITECTURE=
case "$OS_TEST" in
@@ -18,7 +18,7 @@
INTEL_ARCHITECTURE=1
esac
-@@ -2491,6 +2491,16 @@
+@@ -2713,6 +2713,16 @@
AC_DEFINE(JS_CPU_X86)
AC_DEFINE(JS_NUNBOX32)
;;
@@ -33,17 +33,17 @@
+ AC_DEFINE(JS_PUNBOX64)
+ ;;
x86_64*-*)
- ENABLE_TRACEJIT=1
NANOJIT_ARCH=X64
-@@ -2512,6 +2522,7 @@
+ ENABLE_METHODJIT=1
+@@ -2732,6 +2742,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_MONOIC=1
+@@ -2739,6 +2750,7 @@
ENABLE_METHODJIT_TYPED_ARRAY=1
AC_DEFINE(JS_CPU_SPARC)
AC_DEFINE(JS_NUNBOX32)
@@ -51,7 +51,7 @@
;;
esac
-@@ -2575,6 +2587,10 @@
+@@ -2795,6 +2807,10 @@
i?86-*)
AC_DEFINE(AVMPLUS_IA32)
;;
diff --git a/mail/thunderbird-esr/files/patch-mozilla-js-src-jscpucfg.h b/mail/thunderbird-esr/files/patch-mozilla-js-src-jscpucfg.h
new file mode 100644
index 000000000000..e2c1239896d5
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-mozilla-js-src-jscpucfg.h
@@ -0,0 +1,22 @@
+--- mozilla/js/src/jscpucfg.h.orig 2012-01-18 17:38:54.409461514 +0100
++++ mozilla/js/src/jscpucfg.h 2012-01-18 17:38:59.522462164 +0100
+@@ -77,6 +77,19 @@
+ #define IS_BIG_ENDIAN 1
+ #endif
+
++#elif defined(__FreeBSD__)
++#include <sys/endian.h>
++
++#if defined(BYTE_ORDER)
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define IS_LITTLE_ENDIAN 1
++#undef IS_BIG_ENDIAN
++#elif BYTE_ORDER == BIG_ENDIAN
++#undef IS_LITTLE_ENDIAN
++#define IS_BIG_ENDIAN 1
++#endif
++#endif
++
+ #elif defined(JS_HAVE_ENDIAN_H)
+ #include <endian.h>
+