aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/rat
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-25 18:43:01 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-25 18:43:01 +0800
commit99fc6db156dfd7860b32414985a3b7d15925093a (patch)
tree50e1d6abfb8da560c54def9913c8fb72f5ea595a /mbone/rat
parent4de98f6a515f4ad37af974691ade2ffb90c357ed (diff)
downloadfreebsd-ports-gnome-99fc6db156dfd7860b32414985a3b7d15925093a.tar.gz
freebsd-ports-gnome-99fc6db156dfd7860b32414985a3b7d15925093a.tar.zst
freebsd-ports-gnome-99fc6db156dfd7860b32414985a3b7d15925093a.zip
fix building error on FreeBSD-current.
now this port supports IPv6. Reviewed by: maintainer
Diffstat (limited to 'mbone/rat')
-rw-r--r--mbone/rat/Makefile2
-rw-r--r--mbone/rat/files/patch-ad13
2 files changed, 14 insertions, 1 deletions
diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile
index 046307711d9b..04d99ac5e66e 100644
--- a/mbone/rat/Makefile
+++ b/mbone/rat/Makefile
@@ -7,7 +7,7 @@
#
DISTNAME= rat-4.0.4
-CATEGORIES= mbone audio
+CATEGORIES= mbone audio ipv6
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.0.4/ \
http://www.freebsd.org/~cpiazza/distfiles/
diff --git a/mbone/rat/files/patch-ad b/mbone/rat/files/patch-ad
new file mode 100644
index 000000000000..b1756adb31a2
--- /dev/null
+++ b/mbone/rat/files/patch-ad
@@ -0,0 +1,13 @@
+--- common/net_udp.c.orig Tue Jun 22 10:54:05 1999
++++ common/net_udp.c Mon Jan 24 17:14:12 2000
+@@ -335,6 +335,10 @@
+ }
+ }
+
++#ifndef IPV6_ADD_MEMBERSHIP
++#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
++#endif
++
+ if (IN6_IS_ADDR_MULTICAST(&(s->addr6))) {
+ unsigned int loop = 1;
+ struct ipv6_mreq imr;