From cb26548f81723c64628b296a8810cbdff32c4a1e 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/Makefile | 3 ++- mail/thunderbird/distinfo | 4 ++-- mail/thunderbird/patches/patch-br | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'mail/thunderbird') diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index ad169a339a4..d364bf44806 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2005/06/03 14:41:30 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2005/09/08 22:03:45 abs Exp $ MOZILLA= thunderbird +PKGREVISION= 1 COMMENT= Mozilla mail client diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index 6e3e880eaac..f36852694f4 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2005/07/25 15:46:02 adam Exp $ +$NetBSD: distinfo,v 1.17 2005/09/08 22:03:45 abs Exp $ SHA1 (thunderbird-1.0.6-source.tar.bz2) = 3edb2b98ceda5cb4cbd107757b629587f1a57069 RMD160 (thunderbird-1.0.6-source.tar.bz2) = 121bd34f1f8a75efb206515b5acaf4c633b2cc6f @@ -26,7 +26,7 @@ SHA1 (patch-bb) = 9ba4bcd86e581496bbc6b40b3a3f062dfd5e416f SHA1 (patch-bm) = 6bd7bf1262cec43b0324693d43929497c3fb3991 SHA1 (patch-bo) = eae0edcfdb535d04523b77bd4f09f14b4c148e9d SHA1 (patch-bq) = 3b8a951828b0e6906e4352027b4d36c9b1f8aaae -SHA1 (patch-br) = 52d5b595f1e25ac5d6664864ab0cbe5e14012168 +SHA1 (patch-br) = c0e579ef044b6450ed2706d81acd9ab1d0fb55b0 SHA1 (patch-bs) = 81065130c96bf966b22e6abb767a5b674dcb52cb SHA1 (patch-bt) = 6e3ceb31866dfb0dba81c93446db2b21e1df9baa SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee 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