diff options
author | taya <taya> | 2001-10-26 15:27:56 +0000 |
---|---|---|
committer | taya <taya> | 2001-10-26 15:27:56 +0000 |
commit | 8e887ebfd2a1e63b2499c489a538c8a2eb37d1b8 (patch) | |
tree | 62bf24ecdaa21b69acd19181ca20447e3bad798c /www | |
parent | 6b33c6ce1bb6761a5e424017f7d514b71c6946b3 (diff) | |
download | pkgsrc-8e887ebfd2a1e63b2499c489a538c8a2eb37d1b8.tar.gz |
enable IPv4 mapped IPv6 address(workaround for -current)
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/Makefile | 4 | ||||
-rw-r--r-- | www/mozilla/distinfo | 3 | ||||
-rw-r--r-- | www/mozilla/patches/patch-be | 21 |
3 files changed, 25 insertions, 3 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 7bbb218b397..0ab2b76c211 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.74 2001/10/26 14:35:12 agc Exp $ +# $NetBSD: Makefile,v 1.75 2001/10/26 15:27:56 taya Exp $ MOZ_VER= 0.9.5 -NB_VER= +NB_VER= nb1 DISTNAME= mozilla-source-${MOZ_VER} PKGNAME= mozilla-${MOZ_VER}${NB_VER} WRKSRC= ${WRKDIR}/mozilla diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo index b08f5c73307..175f19c7831 100644 --- a/www/mozilla/distinfo +++ b/www/mozilla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2001/10/16 15:52:09 taya Exp $ +$NetBSD: distinfo,v 1.11 2001/10/26 15:27:56 taya Exp $ SHA1 (mozilla-source-0.9.5.tar.bz2) = c733e03e5b8fc9fe9b192461667c705b05a7d48a Size (mozilla-source-0.9.5.tar.bz2) = 26903227 bytes @@ -11,3 +11,4 @@ SHA1 (patch-ba) = c3acb53bbe934ca6f5e6984d9714897e08a578a5 SHA1 (patch-bb) = 6a296dc2356be031a7f1b7da1b3b0fae78ab73c6 SHA1 (patch-bc) = 641f631ff52dccf8640b0b6a3ca25e54bbd1a595 SHA1 (patch-bd) = 1005fb1bbe8f9b773dedd05e2a69d6deb09b3135 +SHA1 (patch-be) = 99660354cd6dd3eecf235625cf047f0d5bba1b0c diff --git a/www/mozilla/patches/patch-be b/www/mozilla/patches/patch-be new file mode 100644 index 00000000000..20e7c2c520f --- /dev/null +++ b/www/mozilla/patches/patch-be @@ -0,0 +1,21 @@ +$NetBSD: patch-be,v 1.1 2001/10/26 15:27:57 taya Exp $ + +diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c ./nsprpub/pr/src/io/prsocket.c +--- ../Orig/mozilla/nsprpub/pr/src/io/prsocket.c Sat Jun 9 04:54:54 2001 ++++ ./nsprpub/pr/src/io/prsocket.c Thu Oct 25 21:41:45 2001 +@@ -1300,6 +1300,15 @@ + if (osfd == -1) { + return 0; + } ++#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 -1; ++ } ++ } ++#endif + if (type == SOCK_STREAM) + fd = PR_AllocFileDesc(osfd, PR_GetTCPMethods()); + else |