diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2011-09-28 16:18:43 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2011-09-28 16:18:43 +0000 |
commit | 8bd37a774554c05b16c802717f45b87d07de76c0 (patch) | |
tree | 9d990bf3a1005e51b24e8497b153e4460967847f /mail | |
parent | f4e12827fbbe18dcf57e365f0edaaca768dac893 (diff) | |
download | ports-8bd37a774554c05b16c802717f45b87d07de76c0.tar.gz ports-8bd37a774554c05b16c802717f45b87d07de76c0.zip |
- Check for affected FreeBSD versions in
patch-mozilla__xpcom__threads__nsThreadManager.cpp.
Submitted by: h h <aakuusta AT gmail.com>
Notes
Notes:
svn path=/head/; revision=282569
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird-esr/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp | 5 | ||||
-rw-r--r-- | mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp | 5 |
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 |