diff options
author | marcus <marcus@FreeBSD.org> | 2004-06-19 13:18:14 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-06-19 13:18:14 +0800 |
commit | a6bb549135942125e8ea216a9e5afb5240c74e43 (patch) | |
tree | 6eb0b843cc72baed3410a9ffc1ef11a911c87e47 /www/firefox | |
parent | 7a61a8797d581e5fd84fb0c144c89fe7b6bd6185 (diff) | |
download | freebsd-ports-gnome-a6bb549135942125e8ea216a9e5afb5240c74e43.tar.gz freebsd-ports-gnome-a6bb549135942125e8ea216a9e5afb5240c74e43.tar.zst freebsd-ports-gnome-a6bb549135942125e8ea216a9e5afb5240c74e43.zip |
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
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/files/patch-browser_app_Makefile.in | 10 | ||||
-rw-r--r-- | www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/www/firefox/files/patch-browser_app_Makefile.in b/www/firefox/files/patch-browser_app_Makefile.in new file mode 100644 index 000000000000..0fee861b9f72 --- /dev/null +++ b/www/firefox/files/patch-browser_app_Makefile.in @@ -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) \ diff --git a/www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp b/www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp new file mode 100644 index 000000000000..68f43996813d --- /dev/null +++ b/www/firefox/files/patch-toolkit_xre_nsAppRunner.cpp @@ -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); + |