mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
clang 3.3 merge) PR: ports/179034 [1] Submitted by: Jan Beich <jbeich@tormail.org>, Nikolai Lifanov <lifanov@mail.lifanov.com> [1]
11 lines
485 B
Text
11 lines
485 B
Text
--- toolkit/xre/nsAppRunner.cpp~
|
|
+++ toolkit/xre/nsAppRunner.cpp
|
|
@@ -3833,7 +3833,7 @@ XREMain::XRE_main(int argc, char* argv[]
|
|
ScopedLogging log;
|
|
|
|
#if defined(MOZ_WIDGET_GTK)
|
|
-#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.
|