summaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-bug778078
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird/files/patch-bug778078')
-rw-r--r--mail/thunderbird/files/patch-bug77807811
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-bug778078 b/mail/thunderbird/files/patch-bug778078
new file mode 100644
index 000000000000..fc29c1ca5ecb
--- /dev/null
+++ b/mail/thunderbird/files/patch-bug778078
@@ -0,0 +1,11 @@
+--- mozilla/toolkit/xre/nsAppRunner.cpp~
++++ mozilla/toolkit/xre/nsAppRunner.cpp
+@@ -3819,7 +3819,7 @@ XREMain::XRE_main(int argc, char* argv[]
+ ScopedLogging log;
+
+ #if defined(MOZ_WIDGET_GTK2)
+-#ifdef MOZ_MEMORY
++#if defined(MOZ_MEMORY) || defined(__FreeBSD__) || defined(__NetBSD__)
+ // Disable the slice allocator, since jemalloc already uses similar layout
+ // algorithms, and using a sub-allocator tends to increase fragmentation.
+ // This must be done before g_thread_init() is called.