summaryrefslogtreecommitdiff
path: root/devel/nspr/files/patch-..::pr::src::pthreads::ptio.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-02-03 21:45:44 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-02-03 21:45:44 +0000
commit05f507ee1348105e3fe1e344ca9deea230307164 (patch)
tree57e10538359471bf389adafa9ced91e3d8d3014e /devel/nspr/files/patch-..::pr::src::pthreads::ptio.c
parent* Add another check to make sure bsd.gnome.mk isn't included more than needed (diff)
Update to 4.4.1.
PR: ports/62244 Submitted by: ijliao
Notes
Notes: svn path=/head/; revision=99908
Diffstat (limited to 'devel/nspr/files/patch-..::pr::src::pthreads::ptio.c')
-rw-r--r--devel/nspr/files/patch-..::pr::src::pthreads::ptio.c17
1 files changed, 8 insertions, 9 deletions
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);
}