Update to 4.4.1.

PR:		ports/62244
Submitted by:	ijliao
This commit is contained in:
Adam Weinberger 2004-02-03 21:45:44 +00:00
parent a41faa82bd
commit 05f507ee13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99908
3 changed files with 11 additions and 12 deletions

View file

@ -6,8 +6,8 @@
#
PORTNAME= nspr
PORTVERSION= 4.3
PORTREVISION= 2
PORTVERSION= 4.4.1
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src

View file

@ -1 +1 @@
MD5 (nspr-4.3.tar.gz) = df714fd7179508ddd1d2c31abfaa8450
MD5 (nspr-4.4.1.tar.gz) = 6187ec5f2c01554ceef2db35160f84dc

View file

@ -1,23 +1,22 @@
$FreeBSD$
--- ../pr/src/pthreads/ptio.c.orig Fri Apr 12 03:14:39 2002
+++ ../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
{
--- ../pr/src/pthreads/ptio.c.orig Mon Feb 2 10:41:43 2004
+++ ../pr/src/pthreads/ptio.c Mon Feb 2 10:44:49 2004
@@ -3470,6 +3470,17 @@
&on, sizeof(on));
}
#endif
+#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))) {
+ &opt, sizeof(opt))) {
+ close(osfd);
+ return NULL;
+ }
+ }
+#endif
+#endif
fd = pt_SetMethods(osfd, ftype, PR_FALSE, PR_FALSE);
if (fd == NULL) close(osfd);
}