summaryrefslogtreecommitdiff
path: root/www/firefox/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 /www/firefox/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 'www/firefox/patches')
-rw-r--r--www/firefox/patches/patch-br8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/firefox/patches/patch-br b/www/firefox/patches/patch-br
index 39d4ddb465b..d999133b830 100644
--- a/www/firefox/patches/patch-br
+++ b/www/firefox/patches/patch-br
@@ -1,4 +1,4 @@
-$NetBSD: patch-br,v 1.3 2004/10/04 09:15:29 grant Exp $
+$NetBSD: patch-br,v 1.4 2005/09/08 22:03:45 abs Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig 2004-01-23 09:22:37.000000000 +1100
+++ nsprpub/pr/src/misc/prnetdb.c
@@ -6,14 +6,14 @@ $NetBSD: patch-br,v 1.3 2004/10/04 09:15:29 grant Exp $
*/
hints.ai_socktype = SOCK_STREAM;
-+/* NetBSD >=2.0F has a thread-safe resolver */
-+#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
+