aboutsummaryrefslogtreecommitdiff
path: root/net/libunp
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-08 15:53:00 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-08 15:53:00 +0000
commit0d462002d901b7fdd24d89d3eb1d1cc37a751f9b (patch)
tree74017676a7593e75ea183080a337634f9f4efff0 /net/libunp
parent7de9beaed96aa2f8c02e88a63618dbc18ee00f53 (diff)
downloadports-0d462002d901b7fdd24d89d3eb1d1cc37a751f9b.tar.gz
ports-0d462002d901b7fdd24d89d3eb1d1cc37a751f9b.zip
Notes
Diffstat (limited to 'net/libunp')
-rw-r--r--net/libunp/Makefile2
-rw-r--r--net/libunp/files/patch-ar11
-rw-r--r--net/libunp/files/patch-as11
3 files changed, 23 insertions, 1 deletions
diff --git a/net/libunp/Makefile b/net/libunp/Makefile
index d923c0f5fff2..3bd94cf4f889 100644
--- a/net/libunp/Makefile
+++ b/net/libunp/Makefile
@@ -8,7 +8,7 @@
DISTNAME= unpv12e
PKGNAME= libunp-1.0
-CATEGORIES= net
+CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.kohala.com/pub/rstevens/ \
http://www.cs.columbia.edu/networks98/stevens/
diff --git a/net/libunp/files/patch-ar b/net/libunp/files/patch-ar
new file mode 100644
index 000000000000..61b218ab73d4
--- /dev/null
+++ b/net/libunp/files/patch-ar
@@ -0,0 +1,11 @@
+--- lib/mcast_leave.c- Tue Feb 8 15:10:50 2000
++++ lib/mcast_leave.c Tue Feb 8 15:05:53 2000
+@@ -23,7 +23,7 @@
+ &((struct sockaddr_in6 *) sa)->sin6_addr,
+ sizeof(struct in6_addr));
+ mreq6.ipv6mr_interface = 0;
+- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP,
++ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_LEAVE_GROUP,
+ &mreq6, sizeof(mreq6)));
+ }
+ #endif
diff --git a/net/libunp/files/patch-as b/net/libunp/files/patch-as
new file mode 100644
index 000000000000..5ac07b948fdb
--- /dev/null
+++ b/net/libunp/files/patch-as
@@ -0,0 +1,11 @@
+--- lib/mcast_join.c- Tue Feb 8 15:12:14 2000
++++ lib/mcast_join.c Tue Feb 8 15:12:37 2000
+@@ -56,7 +56,7 @@
+ else
+ mreq6.ipv6mr_interface = 0;
+
+- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP,
++ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_JOIN_GROUP,
+ &mreq6, sizeof(mreq6)));
+ }
+ #endif