summaryrefslogtreecommitdiffstats
path: root/xulrunner-16.0-jemalloc-ppc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-10 20:00:57 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-10 20:00:57 +0200
commitfb895a5a5e0c7214e4ead48d08b9ecf58aae98ec (patch)
tree409d0d4b87203f5daeb7a09309bac8e520de1ad7 /xulrunner-16.0-jemalloc-ppc.patch
mozilla-enigmail: work in progress
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..e4fca79
--- /dev/null
+++ b/xulrunner-16.0-jemalloc-ppc.patch
@@ -0,0 +1,14 @@
+Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
+===================================================================
+--- a/mozilla/memory/mozjemalloc/jemalloc.c
++++ b/mozilla/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
+