diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2000-02-08 23:53:00 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2000-02-08 23:53:00 +0800 |
commit | e358fa9bf27946f4d1672c26127d38cd873a66d2 (patch) | |
tree | 85bba3027f83922143b80a1e54306bbce446fc28 /net/libunp | |
parent | fef85562e6cb3881ac9b78cb40f32f99786dfd74 (diff) | |
download | freebsd-ports-gnome-e358fa9bf27946f4d1672c26127d38cd873a66d2.tar.gz freebsd-ports-gnome-e358fa9bf27946f4d1672c26127d38cd873a66d2.tar.zst freebsd-ports-gnome-e358fa9bf27946f4d1672c26127d38cd873a66d2.zip |
make buildable on 4-current. now this port supports IPv6.
Reviewed by: maintainer
Diffstat (limited to 'net/libunp')
-rw-r--r-- | net/libunp/Makefile | 2 | ||||
-rw-r--r-- | net/libunp/files/patch-ar | 11 | ||||
-rw-r--r-- | net/libunp/files/patch-as | 11 |
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 |