summaryrefslogtreecommitdiffstats
path: root/xulrunner-12.0-jemalloc-ppc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-06 19:24:41 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-06 19:24:41 +0200
commit922f247fc19dbbe1eb361dbe21439c5f4c536945 (patch)
treed0e098489ce311d8d54c526a869ad1b42a650699 /xulrunner-12.0-jemalloc-ppc.patch
parent07b0d8807bee3b8033cd75101ed0c59c6e5302e5 (diff)
Xulrunner 13.0, Firefox 13.0
Diffstat (limited to 'xulrunner-12.0-jemalloc-ppc.patch')
-rw-r--r--xulrunner-12.0-jemalloc-ppc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/xulrunner-12.0-jemalloc-ppc.patch b/xulrunner-12.0-jemalloc-ppc.patch
new file mode 100644
index 0000000..036f560
--- /dev/null
+++ b/xulrunner-12.0-jemalloc-ppc.patch
@@ -0,0 +1,14 @@
+Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
+===================================================================
+--- xulrunner-11.0.orig/mozilla-release/memory/jemalloc/jemalloc.c
++++ xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
+@@ -1089,7 +1089,9 @@ static unsigned ncpus;
+ * controlling the malloc behavior are defined as compile-time constants
+ * for best performance and cannot be altered at runtime.
+ */
++#if !(defined(__powerpc__))
+ #define MALLOC_STATIC_SIZES 1
++#endif
+
+ #ifdef MALLOC_STATIC_SIZES
+