diff options
Diffstat (limited to 'www/mozilla/patches/patch-br')
-rw-r--r-- | www/mozilla/patches/patch-br | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/www/mozilla/patches/patch-br b/www/mozilla/patches/patch-br index 2f2ea5e357e..d36e15675bf 100644 --- a/www/mozilla/patches/patch-br +++ b/www/mozilla/patches/patch-br @@ -1,17 +1,21 @@ -$NetBSD: patch-br,v 1.4 2004/06/21 14:14:01 taya Exp $ +$NetBSD: patch-br,v 1.4.2.1 2004/11/30 23:29:15 salo Exp $ -diff -ru ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c ./nsprpub/pr/src/misc/prnetdb.c ---- ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2004-01-23 07:22:37.000000000 +0900 -+++ ./nsprpub/pr/src/misc/prnetdb.c 2004-06-10 23:07:42.000000000 +0900 -@@ -2094,7 +2094,12 @@ +--- nsprpub/pr/src/misc/prnetdb.c.orig 2004-04-28 22:00:17.000000000 +1000 ++++ nsprpub/pr/src/misc/prnetdb.c +@@ -2097,7 +2097,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf */ hints.ai_socktype = SOCK_STREAM; -+ LOCK_DNS(); ++/* NetBSD 2.0F */ ++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 200060000 ++ LOCK_DNS(); ++#endif + rv = GETADDRINFO(hostname, NULL, &hints, &res); + -+ UNLOCK_DNS(); ++#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 200060000 ++ UNLOCK_DNS(); ++#endif + if (rv == 0) return (PRAddrInfo *) res; |