diff options
Diffstat (limited to 'www/firefox/files/patch-bug543241')
-rw-r--r-- | www/firefox/files/patch-bug543241 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug543241 b/www/firefox/files/patch-bug543241 new file mode 100644 index 000000000000..af9e0ad7ba15 --- /dev/null +++ b/www/firefox/files/patch-bug543241 @@ -0,0 +1,14 @@ +--- ./xpcom/threads/nsThreadManager.cpp.orig 2011-08-25 02:37:45.000000000 +0200 ++++ ./xpcom/threads/nsThreadManager.cpp 2011-08-28 17:14:14.000000000 +0200 +@@ -57,6 +57,11 @@ + nsresult + nsThreadManager::Init() + { ++#if defined(NS_TLS) && (__FreeBSD_version < 802513 \ ++ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045)) ++ if (!gTLSThreadID) ++ gTLSThreadID = mozilla::threads::Generic; ++#endif + mThreadsByPRThread.Init(); + + if (PR_NewThreadPrivateIndex(&mCurThreadIndex, ReleaseObject) == PR_FAILURE) |