summaryrefslogtreecommitdiffstats
path: root/xulrunner-16.0-jemalloc-ppc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-08 20:46:38 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-08 20:46:38 +0200
commit963e0b37fc2d1c7a9d590db828c564e528aaa80a (patch)
tree8bb63af1b14c44bed14a7f6a0e0d2ec6ab66a5c7 /xulrunner-16.0-jemalloc-ppc.patch
parentb0e913d9a031a3f6ec0f1553491813f551506464 (diff)
Xulrunner / Firefox 16.0
Diffstat (limited to 'xulrunner-16.0-jemalloc-ppc.patch')
-rw-r--r--xulrunner-16.0-jemalloc-ppc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/xulrunner-16.0-jemalloc-ppc.patch b/xulrunner-16.0-jemalloc-ppc.patch
new file mode 100644
index 0000000..896a2c0
--- /dev/null
+++ b/xulrunner-16.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/mozjemalloc/jemalloc.c
++++ xulrunner-11.0/mozilla-release/memory/mozjemalloc/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
+