From c5093c311822dddb35bd60fe94d1dd3d8ed8e08a Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 9 Jan 2004 00:12:51 +0000 Subject: - 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 (maintainer) --- net/mcl/files/patch-mcl_lib.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'net/mcl/files/patch-mcl_lib.cpp') 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)); + } -- cgit v1.2.3