summaryrefslogtreecommitdiff
path: root/www/libxul19/files/patch-bug778078
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2012-09-10 19:19:32 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2012-09-10 19:19:32 +0000
commit734349b51e45b3b7ca3962ef3081939860edc649 (patch)
treeee00a96c55d6989c6d1c276075efa6edf489ad90 /www/libxul19/files/patch-bug778078
parent- Add perl as a build dependency. (diff)
- Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7 - Update all dependent ports to use www/libxul19 (no functional changes) - Bump PORTREVISION on ports where libxul is a run dependency as the resulting package will change. Submitted by: Jan Beich <jbeich@tormail.org> With hat: gecko
Notes
Notes: svn path=/head/; revision=304053
Diffstat (limited to 'www/libxul19/files/patch-bug778078')
-rw-r--r--www/libxul19/files/patch-bug77807811
1 files changed, 11 insertions, 0 deletions
diff --git a/www/libxul19/files/patch-bug778078 b/www/libxul19/files/patch-bug778078
new file mode 100644
index 000000000000..c3d42c391a98
--- /dev/null
+++ b/www/libxul19/files/patch-bug778078
@@ -0,0 +1,11 @@
+--- toolkit/xre/nsAppRunner.cpp~
++++ toolkit/xre/nsAppRunner.cpp
+@@ -3046,7 +3046,7 @@ XRE_main(int argc, char* argv[], const n
+ QApplication app(gArgc, gArgv);
+ #endif
+ #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.