diff options
author | taya <taya@pkgsrc.org> | 2003-01-20 13:23:02 +0000 |
---|---|---|
committer | taya <taya@pkgsrc.org> | 2003-01-20 13:23:02 +0000 |
commit | 91af2a906eae2ee34a3b009a20ef29c12f606ed9 (patch) | |
tree | 22a8361bc4286345e09b668dae5f880195f2142c /www/mozilla-stable | |
parent | 62541724a5311bb4a6037d95f8b98c6838ff7a4c (diff) | |
download | pkgsrc-91af2a906eae2ee34a3b009a20ef29c12f606ed9.tar.gz |
enable IPv4 mapped IPv6 address.
Diffstat (limited to 'www/mozilla-stable')
-rw-r--r-- | www/mozilla-stable/Makefile | 3 | ||||
-rw-r--r-- | www/mozilla-stable/distinfo | 4 | ||||
-rw-r--r-- | www/mozilla-stable/patches/patch-am | 24 |
3 files changed, 24 insertions, 7 deletions
diff --git a/www/mozilla-stable/Makefile b/www/mozilla-stable/Makefile index aa4affe5e6f..33972202096 100644 --- a/www/mozilla-stable/Makefile +++ b/www/mozilla-stable/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.4 2003/01/11 00:30:59 taya Exp $ +# $NetBSD: Makefile,v 1.5 2003/01/20 13:23:02 taya Exp $ MOZILLA= mozilla-stable MOZILLA_BIN= mozilla-bin MOZ_VER= 1.0.2 EXTRACT_SUFX= .tar.bz2 +PKGREVISION= 1 COMMENT= Stable branch of mozilla, open source browser diff --git a/www/mozilla-stable/distinfo b/www/mozilla-stable/distinfo index 39003309225..9f8bee4f775 100644 --- a/www/mozilla-stable/distinfo +++ b/www/mozilla-stable/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2003/01/11 00:31:00 taya Exp $ +$NetBSD: distinfo,v 1.4 2003/01/20 13:23:02 taya Exp $ SHA1 (mozilla-source-1.0.2.tar.bz2) = f8f33ef79cb22df4f8a2acb2d5a19fbef5778348 Size (mozilla-source-1.0.2.tar.bz2) = 30125312 bytes @@ -7,7 +7,7 @@ SHA1 (patch-ab) = 70ced122812a1bad346e572bc9a2f7d3b6bb57ef SHA1 (patch-ac) = ed04786ce666280be5e95e52ed404facd42ad798 SHA1 (patch-ad) = 321fc86def80b80caa8be6469ddd4f663fc8d2e0 SHA1 (patch-ae) = cc8ef186f967cd0684f142039cf54f5eba1fc0bd -SHA1 (patch-am) = 726942d51727e27c233b8a98081973cb2c66f767 +SHA1 (patch-am) = d59735e7495a855248196416b52d729e559cc0e1 SHA1 (patch-aw) = 6f680d54668a11aa71c10c57e9181c38fc1ff636 SHA1 (patch-ba) = c308675ce2d0d41eef22bc12603f176b2eebb6bf SHA1 (patch-bb) = 57e6ebfcb1b769b0029f063617cbd131a3372522 diff --git a/www/mozilla-stable/patches/patch-am b/www/mozilla-stable/patches/patch-am index fbf441b1cc1..134469e270a 100644 --- a/www/mozilla-stable/patches/patch-am +++ b/www/mozilla-stable/patches/patch-am @@ -1,7 +1,7 @@ -$NetBSD: patch-am,v 1.2 2002/11/26 22:02:45 cjep Exp $ -diff -ru ../Orig/mozilla/nsprpub/pr/src/pthreads/ptio.c ./nsprpub/pr/src/pthreads/ptio.c ---- ../Orig/mozilla/nsprpub/pr/src/pthreads/ptio.c Sat Jun 22 06:40:13 2002 -+++ ./nsprpub/pr/src/pthreads/ptio.c Thu Sep 12 00:19:49 2002 +$NetBSD: patch-am,v 1.3 2003/01/20 13:23:04 taya Exp $ + +--- nsprpub/pr/src/pthreads/ptio.c.orig Sat Jun 22 06:40:13 2002 ++++ nsprpub/pr/src/pthreads/ptio.c Mon Jan 20 19:13:45 2003 @@ -192,7 +192,7 @@ #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(HPUX) \ || defined(LINUX) || defined(FREEBSD) || defined(BSDI) || defined(VMS) \ @@ -11,3 +11,19 @@ diff -ru ../Orig/mozilla/nsprpub/pr/src/pthreads/ptio.c ./nsprpub/pr/src/pthread #define _PRSockOptVal_t void * #else #error "Cannot determine architecture" +@@ -3414,6 +3414,15 @@ + if (osfd == -1) pt_MapError(_PR_MD_MAP_SOCKET_ERROR, errno); + else + { ++#if defined(__NetBSD__) && defined(_PR_INET6) && defined(IPV6_V6ONLY) ++ if(domain == PR_AF_INET6) { ++ int opt = 0; ++ if (setsockopt(osfd, IPPROTO_IPV6, IPV6_V6ONLY, &opt, sizeof(opt))){ ++ close(osfd); ++ return NULL; ++ } ++ } ++#endif + fd = pt_SetMethods(osfd, ftype, PR_FALSE, PR_FALSE); + if (fd == NULL) close(osfd); + } |