diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2002-08-01 05:04:37 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2002-08-01 05:04:37 +0000 |
commit | e4b50726f0bbcd47dc2836b41a7cd6219ed84e76 (patch) | |
tree | b3442dbb1ae717e4f77db7ac725da89f88e9e9dc /www/mozilla | |
parent | 3a866a5e6b85549d1f3a18c33e0f46e116eb0e81 (diff) | |
download | ports-e4b50726f0bbcd47dc2836b41a7cd6219ed84e76.tar.gz ports-e4b50726f0bbcd47dc2836b41a7cd6219ed84e76.zip |
Notes
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 2 | ||||
-rw-r--r-- | www/mozilla/files/patch-nsprpub::pr::src::pthreads::ptio.c | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 7d08a645ce8b..08fc786e13f1 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -7,7 +7,7 @@ PORTNAME= mozilla PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ diff --git a/www/mozilla/files/patch-nsprpub::pr::src::pthreads::ptio.c b/www/mozilla/files/patch-nsprpub::pr::src::pthreads::ptio.c new file mode 100644 index 000000000000..4a965d4c7440 --- /dev/null +++ b/www/mozilla/files/patch-nsprpub::pr::src::pthreads::ptio.c @@ -0,0 +1,22 @@ +Index: nsprpub/pr/src/pthreads/ptio.c +diff -u nsprpub/pr/src/pthreads/ptio.c.orig nsprpub/pr/src/pthreads/ptio.c +--- nsprpub/pr/src/pthreads/ptio.c.orig Fri Apr 12 03:14:39 2002 ++++ nsprpub/pr/src/pthreads/ptio.c Tue Jul 30 18:52:11 2002 +@@ -3414,6 +3414,17 @@ + if (osfd == -1) pt_MapError(_PR_MD_MAP_SOCKET_ERROR, errno); + else + { ++#if (defined(_PR_INET6_PROBE) || defined(_PR_INET6)) && \ ++ defined(__FreeBSD__) && 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); + } |