aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp5
-rw-r--r--mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp5
-rw-r--r--www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp5
3 files changed, 9 insertions, 6 deletions
diff --git a/mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp b/mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
index 87b80a114ed1..ff88de2ba2df 100644
--- a/mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
+++ b/mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
@@ -1,10 +1,11 @@
--- ./mozilla/xpcom/threads/nsThreadManager.cpp.orig 2011-08-25 02:37:45.000000000 +0200
+++ ./mozilla/xpcom/threads/nsThreadManager.cpp 2011-08-28 17:14:14.000000000 +0200
-@@ -89,6 +89,10 @@
+@@ -89,6 +89,11 @@
nsresult
nsThreadManager::Init()
{
-+#ifdef NS_TLS
++#ifdef NS_TLS && (__FreeBSD_version < 802513 \
++ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045))
+ if (!gTLSThreadID)
+ gTLSThreadID = mozilla::threads::Generic;
+#endif
diff --git a/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp b/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
index 87b80a114ed1..ff88de2ba2df 100644
--- a/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
+++ b/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
@@ -1,10 +1,11 @@
--- ./mozilla/xpcom/threads/nsThreadManager.cpp.orig 2011-08-25 02:37:45.000000000 +0200
+++ ./mozilla/xpcom/threads/nsThreadManager.cpp 2011-08-28 17:14:14.000000000 +0200
-@@ -89,6 +89,10 @@
+@@ -89,6 +89,11 @@
nsresult
nsThreadManager::Init()
{
-+#ifdef NS_TLS
++#ifdef NS_TLS && (__FreeBSD_version < 802513 \
++ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045))
+ if (!gTLSThreadID)
+ gTLSThreadID = mozilla::threads::Generic;
+#endif
diff --git a/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp b/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
index 87b80a114ed1..ff88de2ba2df 100644
--- a/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
+++ b/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
@@ -1,10 +1,11 @@
--- ./mozilla/xpcom/threads/nsThreadManager.cpp.orig 2011-08-25 02:37:45.000000000 +0200
+++ ./mozilla/xpcom/threads/nsThreadManager.cpp 2011-08-28 17:14:14.000000000 +0200
-@@ -89,6 +89,10 @@
+@@ -89,6 +89,11 @@
nsresult
nsThreadManager::Init()
{
-+#ifdef NS_TLS
++#ifdef NS_TLS && (__FreeBSD_version < 802513 \
++ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045))
+ if (!gTLSThreadID)
+ gTLSThreadID = mozilla::threads::Generic;
+#endif