diff options
author | abs <abs@pkgsrc.org> | 2005-09-08 22:03:45 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2005-09-08 22:03:45 +0000 |
commit | 98df73ec7bde46258fb12dfb40a9ed2dd972a06a (patch) | |
tree | 1fdb9d84f98627ae89f530d61edc36a55dbe2415 /mail/thunderbird/patches | |
parent | 4361163c8ae01159c8825be7ac359220c198b03f (diff) | |
download | pkgsrc-98df73ec7bde46258fb12dfb40a9ed2dd972a06a.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-br | 8 |
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 + |