summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-09-08 22:03:45 +0000
committerabs <abs@pkgsrc.org>2005-09-08 22:03:45 +0000
commitd6893ebb285120af9b9ee79bc53733eab432026a (patch)
tree1fdb9d84f98627ae89f530d61edc36a55dbe2415 /mail/thunderbird/patches
parent96779f9d0919d5e9001a5ed0dc0dee65516e8e2d (diff)
downloadpkgsrc-d6893ebb285120af9b9ee79bc53733eab432026a.tar.gz
Update patches for mozilla applications to handle the fact that on
NetBSD the thread safe resolver is only available on __NetBSD_Version__ >= 299000900. Fixes runtime usage on NetBSD 2.1. New Versions: - firefox-1.0.6nb2 - firefox-gtk1-1.0.6nb2 - mozilla-1.7.11nb1 - mozilla-gtk2-1.7.11nb1 - thunderbird-1.0.6nb1 - thunderbird-gtk1-1.0.6nb1
Diffstat (limited to 'mail/thunderbird/patches')
-rw-r--r--mail/thunderbird/patches/patch-br8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/thunderbird/patches/patch-br b/mail/thunderbird/patches/patch-br
index ade9658ea16..56b38070227 100644
--- a/mail/thunderbird/patches/patch-br
+++ b/mail/thunderbird/patches/patch-br
@@ -1,4 +1,4 @@
-$NetBSD: patch-br,v 1.4 2004/12/04 02:16:03 taya Exp $
+$NetBSD: patch-br,v 1.5 2005/09/08 22:03:45 abs Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig 2004-04-28 22:00:17.000000000 +1000
+++ nsprpub/pr/src/misc/prnetdb.c
@@ -6,14 +6,14 @@ $NetBSD: patch-br,v 1.4 2004/12/04 02:16:03 taya Exp $
*/
hints.ai_socktype = SOCK_STREAM;
-+/* NetBSD 2.0F */
-+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 200060000
++/* NetBSD >= 2.99.9 has a thread-safe resolver */
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
+ LOCK_DNS();
+#endif
+
rv = GETADDRINFO(hostname, NULL, &hints, &res);
+
-+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 200060000
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
+ UNLOCK_DNS();
+#endif
+