summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug543241
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-09-07 22:10:01 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-09-07 22:10:01 +0000
commit9e2d4844cf86e9e0c1fee084c644a471b97d4d89 (patch)
tree260671c3ea7a2a410e3f9cc7f050e3a71604a633 /www/firefox/files/patch-bug543241
parentAdd a sanity check to ensure vuxml is actually installed prior to performing (diff)
- Update firefox to 15.0.1
- Sync changes from gecko repository@r995 general - don't specify prefix for libevent when using pkg-config - ia64 and sparc64 use 8k pagesize by default - add visibility hack for clang 3.2 with libc++ - fix build using clang 3.2 (on FreeBSD 10-CURRENT) - rename a few more patches to ease tracking of bugzilla bugs www/seamonkey - unbreak unsetting LDAP and MAILNEWS options after bug 707305 - use compile time debugging WITH_DEBUG security/nss - unbreak install WITH_DEBUG - unbreak powerpc64 devel/nspr - use absolute paths when specifiying srcdir to make gdb(1) happy In collaboration with: andreast, zeising, Jan Beich <jbeich@tormail.org>
Diffstat (limited to 'www/firefox/files/patch-bug543241')
-rw-r--r--www/firefox/files/patch-bug54324114
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)