Author: beat
Date: Wed Sep 28 16:11:49 2011
New Revision: 641

Log:
- Check for affected FreeBSD versions in
  patch-mozilla__xpcom__threads__nsThreadManager.cpp.

Submitted by:   h h <aakuusta AT gmail.com>

Modified:
   
branches/experimental/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
   
branches/experimental/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
   
trunk/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
   trunk/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp

Modified: 
branches/experimental/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
==============================================================================
--- 
branches/experimental/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
     Wed Sep 28 16:08:38 2011        (r640)
+++ 
branches/experimental/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
     Wed Sep 28 16:11:49 2011        (r641)
@@ -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

Modified: 
branches/experimental/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
==============================================================================
--- 
branches/experimental/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
        Wed Sep 28 16:08:38 2011        (r640)
+++ 
branches/experimental/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
        Wed Sep 28 16:11:49 2011        (r641)
@@ -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

Modified: 
trunk/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
==============================================================================
--- 
trunk/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp 
    Wed Sep 28 16:08:38 2011        (r640)
+++ 
trunk/mail/thunderbird/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp 
    Wed Sep 28 16:11:49 2011        (r641)
@@ -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

Modified: 
trunk/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
==============================================================================
--- 
trunk/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp    
    Wed Sep 28 16:08:38 2011        (r640)
+++ 
trunk/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp    
    Wed Sep 28 16:11:49 2011        (r641)
@@ -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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to