summaryrefslogtreecommitdiff
path: root/source/l/mozjs52/patches/build-icu-big-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/mozjs52/patches/build-icu-big-endian.patch')
-rw-r--r--source/l/mozjs52/patches/build-icu-big-endian.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/l/mozjs52/patches/build-icu-big-endian.patch b/source/l/mozjs52/patches/build-icu-big-endian.patch
new file mode 100644
index 00000000..68fbea1a
--- /dev/null
+++ b/source/l/mozjs52/patches/build-icu-big-endian.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-aurora/build/autoconf/icu.m4.icu-endian mozilla-aurora/build/autoconf/icu.m4
+--- mozilla-aurora/build/autoconf/icu.m4.icu-endian 2016-12-09 09:11:01.227317790 +0100
++++ mozilla-aurora/build/autoconf/icu.m4 2016-12-09 09:18:40.608712247 +0100
+@@ -78,7 +78,7 @@ if test -n "$USE_ICU"; then
+ # TODO: the l is actually endian-dependent
+ # We could make this set as 'l' or 'b' for little or big, respectively,
+ # but we'd need to check in a big-endian version of the file.
+- ICU_DATA_FILE="icudt${version}l.dat"
++ ICU_DATA_FILE="icudt${version}b.dat"
+
+ dnl We won't build ICU data as a separate file when building
+ dnl JS standalone so that embedders don't have to deal with it.