aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2011-09-29 00:18:43 +0800
committerbeat <beat@FreeBSD.org>2011-09-29 00:18:43 +0800
commit4278fe43642718ee763efebeb6614fb498d9eeb7 (patch)
tree5fe10c0d994b45c43b38aa020e25be67f485dad6 /mail
parentcc865ade4a41312a3cdcdd82d319a81596c72473 (diff)
downloadfreebsd-ports-gnome-4278fe43642718ee763efebeb6614fb498d9eeb7.tar.gz
freebsd-ports-gnome-4278fe43642718ee763efebeb6614fb498d9eeb7.tar.zst
freebsd-ports-gnome-4278fe43642718ee763efebeb6614fb498d9eeb7.zip
- Check for affected FreeBSD versions in
patch-mozilla__xpcom__threads__nsThreadManager.cpp. Submitted by: h h <aakuusta AT gmail.com>
Diffstat (limited to 'mail')
-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
2 files changed, 6 insertions, 4 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