summaryrefslogtreecommitdiff
path: root/waterfox/xulrunner-24.0-jemalloc-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox/xulrunner-24.0-jemalloc-ppc.patch')
-rw-r--r--waterfox/xulrunner-24.0-jemalloc-ppc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/waterfox/xulrunner-24.0-jemalloc-ppc.patch b/waterfox/xulrunner-24.0-jemalloc-ppc.patch
new file mode 100644
index 0000000..be6f259
--- /dev/null
+++ b/waterfox/xulrunner-24.0-jemalloc-ppc.patch
@@ -0,0 +1,12 @@
+diff -up firefox-48.0/memory/mozjemalloc/jemalloc.c.jemalloc-ppc firefox-48.0/memory/mozjemalloc/jemalloc.c
+--- firefox-48.0/memory/mozjemalloc/mozjemalloc.cpp.jemalloc-ppc 2016-07-26 10:51:46.385434384 +0200
++++ firefox-48.0/memory/mozjemalloc/mozjemalloc.cpp 2016-07-26 10:53:49.061023106 +0200
+@@ -1090,7 +1090,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
+
bgstack15