aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/nspr/Makefile4
-rw-r--r--devel/nspr/distinfo2
-rw-r--r--devel/nspr/files/patch-..::pr::src::pthreads::ptio.c17
3 files changed, 11 insertions, 12 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index ffd157baae61..de2cd874a5a0 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -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
diff --git a/devel/nspr/distinfo b/devel/nspr/distinfo
index 224a7ac48417..fa81b93a1490 100644
--- a/devel/nspr/distinfo
+++ b/devel/nspr/distinfo
@@ -1 +1 @@
-MD5 (nspr-4.3.tar.gz) = df714fd7179508ddd1d2c31abfaa8450
+MD5 (nspr-4.4.1.tar.gz) = 6187ec5f2c01554ceef2db35160f84dc
diff --git a/devel/nspr/files/patch-..::pr::src::pthreads::ptio.c b/devel/nspr/files/patch-..::pr::src::pthreads::ptio.c
index ab7788b2a439..75ce4ae08d33 100644
--- a/devel/nspr/files/patch-..::pr::src::pthreads::ptio.c
+++ b/devel/nspr/files/patch-..::pr::src::pthreads::ptio.c
@@ -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);
}