From d6893ebb285120af9b9ee79bc53733eab432026a Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 8 Sep 2005 22:03:45 +0000 Subject: 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 --- mail/thunderbird/patches/patch-br | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/thunderbird/patches') 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 + -- cgit v1.2.3