- update firefox-esr, thunderbird-esr, linux-thunderbird and linux-firefox to 10.0.7 - update seamonkey and linux-seamonkey to 2.12 - update nss to 3.13.6 - update bsdipc code (posix_spawn, SysV shared memory) - rename patches to easily track those not (yet) submitted upstream - reduce package size, except for www/libxul[1] - restore default objdir to what it was in 13.0 - fix mail/enigmail after thunderbird build changes - don't accidentally pick up headers from installed ports[3] - add support for PREFIX != LOCALBASE to Makefile.webplugins [4] - document vulnerabilities in vuln.xml - *miscellaneous cleanups and fixups* Obtained from: OpenBSD ports[1] PR: ports/159831, ports/160933, ports/170467[3], ports/170236 [4] Submitted by: avilla [4] In collaboration with: Jan Beich <jbeich@tormail.net> Who did most of the hard work.
14 lines
485 B
C++
14 lines
485 B
C++
--- ./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
|
|
@@ -89,6 +89,11 @@
|
|
nsresult
|
|
nsThreadManager::Init()
|
|
{
|
|
+#if defined(NS_TLS) && (__FreeBSD_version < 802513 \
|
|
+ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045))
|
|
+ if (!gTLSThreadID)
|
|
+ gTLSThreadID = mozilla::threads::Generic;
|
|
+#endif
|
|
if (!mThreadsByPRThread.Init())
|
|
return NS_ERROR_OUT_OF_MEMORY;
|
|
|