diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-09 00:12:51 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-09 00:12:51 +0000 |
commit | c5093c311822dddb35bd60fe94d1dd3d8ed8e08a (patch) | |
tree | e9faa9eee05cf29e7edaae3d150925d0275a9e9f /net/mcl/files/patch-mcl_lib.cpp | |
parent | - Update to 2004.01.03 (diff) |
- Update to 2.99.1
Changes in software:
- vendor's bugfixes
- new FLUTE support
- new dependencies in gdome-2 and glib20
- properly install the shared library and headers
- replace -pthread with $PTHREAD_LIBS
- fix compilation warnings due to C++ headers in -current
PR: ports/61068
Submitted by: Panagiotis Astithas <past@noc.ntua.gr> (maintainer)
Notes
Notes:
svn path=/head/; revision=97719
Diffstat (limited to 'net/mcl/files/patch-mcl_lib.cpp')
-rw-r--r-- | net/mcl/files/patch-mcl_lib.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/net/mcl/files/patch-mcl_lib.cpp b/net/mcl/files/patch-mcl_lib.cpp index c76e22fadb91..d40dbe58584c 100644 --- a/net/mcl/files/patch-mcl_lib.cpp +++ b/net/mcl/files/patch-mcl_lib.cpp @@ -1,6 +1,6 @@ ---- 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 @@ +--- src/alc/mcl_lib.cpp.orig Wed Nov 26 15:38:14 2003 ++++ src/alc/mcl_lib.cpp Tue Dec 16 23:58:46 2003 +@@ -1384,8 +1384,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, @@ -12,3 +12,16 @@ #endif saddr_len)); } +@@ -1520,8 +1522,11 @@ + 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)); + } |