summaryrefslogtreecommitdiff
path: root/mbone/mcl/files/patch-mcl_lib.cpp
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
commit7ab4a1fe58139bc586065444a529c554479c2574 (patch)
treedda92305527359c66a3e9895a576058f950793bf /mbone/mcl/files/patch-mcl_lib.cpp
parentFix packaging when OSPFAPI is requested. This installs additional headers, (diff)
Add mcl 2.99,
implementation of the ALC and NORM Reliable Multicast Protocols. PR: 58728 Submitted by: past@noc.ntua.gr
Notes
Notes: svn path=/head/; revision=93959
Diffstat (limited to 'mbone/mcl/files/patch-mcl_lib.cpp')
-rw-r--r--mbone/mcl/files/patch-mcl_lib.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/mbone/mcl/files/patch-mcl_lib.cpp b/mbone/mcl/files/patch-mcl_lib.cpp
new file mode 100644
index 000000000000..c76e22fadb91
--- /dev/null
+++ b/mbone/mcl/files/patch-mcl_lib.cpp
@@ -0,0 +1,14 @@
+--- src/alc/mcl_lib.cpp.orig Tue Jul 22 19:37:39 2003
++++ src/alc/mcl_lib.cpp Wed Oct 15 16:16:55 2003
+@@ -1265,8 +1265,10 @@
+ if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) {
+ TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n"))
+ return (recvfrom(id, (char*)buf, len, 0, saddr,
+-#ifdef LINUX
++#if defined(LINUX)
+ (size_t*) /* linux => uint, solaris => int */
++#elif defined(FREEBSD)
++ (socklen_t*)
+ #endif
+ saddr_len));
+ }