pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mozilla bring across a patch in Firefox for using ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6612f102dbcb
branches:  trunk
changeset: 481423:6612f102dbcb
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Oct 04 11:52:09 2004 +0000

description:
bring across a patch in Firefox for using thread-safe resolver library
functions on NetBSD >=2.0F.

diffstat:

 www/mozilla/distinfo         |   4 ++--
 www/mozilla/patches/patch-br |  18 +++++++++++-------
 2 files changed, 13 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r f295cf94abfa -r 6612f102dbcb www/mozilla/distinfo
--- a/www/mozilla/distinfo      Mon Oct 04 11:42:33 2004 +0000
+++ b/www/mozilla/distinfo      Mon Oct 04 11:52:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.66 2004/09/17 14:01:45 taya Exp $
+$NetBSD: distinfo,v 1.67 2004/10/04 11:52:09 grant Exp $
 
 SHA1 (mozilla-source-1.7.3.tar.bz2) = ca588b12d944d478ebe193a76d4b487f8db1e38c
 Size (mozilla-source-1.7.3.tar.bz2) = 29716200 bytes
@@ -25,7 +25,7 @@
 SHA1 (patch-bm) = 3e297a2dece8dcad7bde86f79f944a98d09174a7
 SHA1 (patch-bo) = 7d6e0353666810992ab0b09d804f9f48ef90b984
 SHA1 (patch-bq) = 2a08f3eb1b6a8ea00e712d08b4bcafad3b766a81
-SHA1 (patch-br) = 215990af167a1aa1f2d1107e74edfd13395ed356
+SHA1 (patch-br) = 52d5b595f1e25ac5d6664864ab0cbe5e14012168
 SHA1 (patch-bs) = fb9f8f13ce481c04a0f7ecfd0ad4d8016cddc2e4
 SHA1 (patch-bt) = 02c84d908156e42b2d60f0c680eab1a89eb5b330
 SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee
diff -r f295cf94abfa -r 6612f102dbcb www/mozilla/patches/patch-br
--- a/www/mozilla/patches/patch-br      Mon Oct 04 11:42:33 2004 +0000
+++ b/www/mozilla/patches/patch-br      Mon Oct 04 11:52:09 2004 +0000
@@ -1,17 +1,21 @@
-$NetBSD: patch-br,v 1.4 2004/06/21 14:14:01 taya Exp $
+$NetBSD: patch-br,v 1.5 2004/10/04 11:52:45 grant 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;



Home | Main Index | Thread Index | Old Index