summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch')
-rw-r--r--source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch b/source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch
new file mode 100644
index 000000000..d0c3d8c97
--- /dev/null
+++ b/source/l/mozjs52/patches/xulrunner-24.0-jemalloc-ppc.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-aurora/memory/mozjemalloc/jemalloc.c.jemalloc-ppc.patch mozilla-aurora/memory/mozjemalloc/jemalloc.c
+--- mozilla-aurora/memory/mozjemalloc/jemalloc.c.jemalloc-ppc.patch 2016-11-18 08:56:32.242742746 +0100
++++ mozilla-aurora/memory/mozjemalloc/jemalloc.c 2016-11-18 08:59:51.809071876 +0100
+@@ -1096,7 +1096,7 @@ static const bool config_recycle = false
+ * controlling the malloc behavior are defined as compile-time constants
+ * for best performance and cannot be altered at runtime.
+ */
+-#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__aarch64__)
++#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__aarch64__) && !defined(__powerpc__)
+ #define MALLOC_STATIC_SIZES 1
+ #endif
+