Re: [GnomeMeeting-list] 1.2 on FreeBSD
- From: "Kevin Oberman" <oberman es net>
- To: Craig Southeren <craigs postincrement com>
- Cc: GnomeMeeting mailing list <gnomemeeting-list gnome org>
- Subject: Re: [GnomeMeeting-list] 1.2 on FreeBSD
- Date: Fri, 17 Dec 2004 13:02:07 -0800
Craig,
Here are the patches to get openh323 to build on FreeBSD. They may well
be a bit sub-optimal, but I am pretty sure that they won't break
anything on any platform. As of today, they are not in the CVS tree, but
Roger Hardiman may be doing about the same thing.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman es net Phone: +1 510 486-8634
--- ./G726/g726codec.c.orig Mon Dec 13 14:39:35 2004
+++ ./G726/g726codec.c Fri Dec 17 08:45:43 2004
@@ -53,7 +53,11 @@
PLUGIN_CODEC_IMPLEMENT("G.726")
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include "g726/g72x.h"
--- ./GSM0610/gsm06_10_codec.c.orig Mon Dec 13 14:32:18 2004
+++ ./GSM0610/gsm06_10_codec.c Fri Dec 17 09:53:33 2004
@@ -65,7 +65,12 @@
PLUGIN_CODEC_IMPLEMENT(GSM_0610)
-#include <malloc.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
+#iclude <malloc.h>
+#endif
+
#include <string.h>
#include "inc/gsm.h"
--- ./iLBC/ilbccodec.c.orig Mon Dec 13 14:34:37 2004
+++ ./iLBC/ilbccodec.c Fri Dec 17 08:52:05 2004
@@ -36,7 +36,11 @@
PLUGIN_CODEC_IMPLEMENT("iLBC")
-#include <malloc.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
+#inlcude <malloc.h>
+#endif
#include "iLBC/iLBC_encode.h"
#include "iLBC/iLBC_decode.h"
--- ./IMA_ADPCM/ima_adpcm.c.orig Mon Dec 13 14:42:02 2004
+++ ./IMA_ADPCM/ima_adpcm.c Fri Dec 17 08:48:43 2004
@@ -38,7 +38,12 @@
PLUGIN_CODEC_IMPLEMENT("IMA-ADPCM")
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
+
#include <string.h>
//By LH, Microsoft IMA ADPCM CODEC Capability
--- ./LPC_10/lpc_10_codec.c.orig Mon Dec 13 14:38:46 2004
+++ ./LPC_10/lpc_10_codec.c Fri Dec 17 08:50:03 2004
@@ -30,7 +30,12 @@
#include <opalplugin.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
+
#include <string.h>
#include "lpc10.h"
--- Speex/speexcodec.cxx.orig Fri Dec 17 12:04:27 2004
+++ Speex/speexcodec.cxx Fri Dec 17 12:05:19 2004
@@ -62,7 +62,12 @@
PLUGIN_CODEC_IMPLEMENT("Speex")
};
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
+
#include <string.h>
#include "libspeex/speex.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]