mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add a patch to run g_thread_init() as soon as Firefox starts. This is said
to fix some threading issues in Firefox, but I have not personally encountered them (at least not ones fixed by this patch). See http://bugzilla.mozilla.org/show_bug.cgi?id=247204 for more details. Submitted by: green
This commit is contained in:
parent
9daf9b3b45
commit
24a35882ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111778
10
www/firefox-devel/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox-devel/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox-devel/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox-devel/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox-esr/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox-esr/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox-esr/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox-esr/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox10/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox10/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox10/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox10/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox15/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox15/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox15/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox15/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox3-devel/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox3-devel/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox3-devel/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox3-devel/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox35/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox35/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox35/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox35/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/firefox36/files/patch-browser_app_Makefile.in
Normal file
10
www/firefox36/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/firefox36/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/firefox36/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
10
www/flock/files/patch-browser_app_Makefile.in
Normal file
10
www/flock/files/patch-browser_app_Makefile.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- browser/app/Makefile.in.orig Sat Jun 19 00:39:09 2004
|
||||
+++ browser/app/Makefile.in Sat Jun 19 00:39:55 2004
|
||||
@@ -75,6 +75,7 @@
|
||||
$(STATIC_COMPONENTS_LINKER_PATH) \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
|
||||
+ -lgthread-2.0 \
|
||||
$(MOZ_JS_LIBS) \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
10
www/flock/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
10
www/flock/files/patch-toolkit_xre_nsAppRunner.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
|
||||
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
|
||||
@@ -1710,6 +1710,7 @@
|
||||
// in nsAppShell::Create, but we need to get in before gtk
|
||||
// has been initialized to make sure everything is running
|
||||
// consistently.
|
||||
+ g_thread_init(NULL);
|
||||
if (CheckArg("install"))
|
||||
gdk_rgb_set_install(TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user