Removed unused patch

This commit is contained in:
Martin Stransky 2016-03-11 11:42:07 +01:00
parent 5bd1d4be9b
commit ad76d2c05e
2 changed files with 0 additions and 18 deletions

View File

@ -121,7 +121,6 @@ Patch26: firefox-gcc-6.0.patch
Patch204: rhbz-966424.patch
Patch215: firefox-enable-addons.patch
Patch219: rhbz-1173156.patch
Patch220: rhbz-1014858.patch
Patch221: firefox-fedora-ua.patch
Patch222: firefox-gtk3-20.patch
Patch223: rhbz-1291190-appchooser-crash.patch
@ -273,7 +272,6 @@ cd %{tarballdir}
%patch204 -p2 -b .966424
%patch215 -p1 -b .addons
%patch219 -p2 -b .rhbz-1173156
#%patch220 -p1 -b .rhbz-1014858
%patch221 -p2 -b .fedora-ua
%if 0%{?fedora} > 23
%patch222 -p1 -b .gtk3-20

View File

@ -1,16 +0,0 @@
diff -up mozilla-release/toolkit/xre/nsAppRunner.cpp.old mozilla-release/toolkit/xre/nsAppRunner.cpp
--- mozilla-release/toolkit/xre/nsAppRunner.cpp.old 2014-11-26 03:17:40.000000000 +0100
+++ mozilla-release/toolkit/xre/nsAppRunner.cpp 2015-01-05 14:23:05.977933308 +0100
@@ -4168,10 +4168,8 @@ XREMain::XRE_main(int argc, char* argv[]
#if defined(MOZ_WIDGET_GTK)
#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.
- g_slice_set_config(G_SLICE_CONFIG_ALWAYS_MALLOC, 1);
+ // rhbz#1014858 - enable slice allocator for child processes
+ unsetenv("G_SLICE");
#endif
g_thread_init(nullptr);
#endif