diff -ruN openh323.old/Makefile openh323/Makefile --- openh323.old/Makefile Mon May 16 02:45:09 2005 +++ openh323/Makefile Wed Jun 8 10:16:17 2005 @@ -6,8 +6,8 @@ # PORTNAME= openh323 -PORTVERSION= 1.12.0 -PORTREVISION= 5 +PORTVERSION= 1.12.2 +#PORTREVISION= 5 CATEGORIES= net MASTER_SITES= http://www.openh323.org/bin/ \ http://www.de.openh323.org/bin/ \ @@ -40,7 +40,7 @@ USE_GMAKE= yes USE_OPENLDAP= yes -USE_AUTOCONF_VER= 253 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC CONFIGURE_ENV= PWLIBDIR=${PWLIBDIR} OPENH323DIR=${WRKSRC} diff -ruN openh323.old/distinfo openh323/distinfo --- openh323.old/distinfo Wed Mar 31 03:10:07 2004 +++ openh323/distinfo Mon Jun 6 14:31:29 2005 @@ -1,2 +1,2 @@ -MD5 (openh323_1.12.0.tar.gz) = f7932f0a17d6afafc7332036a4b5d392 -SIZE (openh323_1.12.0.tar.gz) = 2325128 +MD5 (openh323_1.12.2.tar.gz) = 15f0b12b60769d03eca9e498050776f3 +SIZE (openh323_1.12.2.tar.gz) = 2343354 diff -ruN openh323.old/files/patch-configurein openh323/files/patch-configurein --- openh323.old/files/patch-configurein Wed May 26 10:12:14 2004 +++ openh323/files/patch-configurein Mon Jun 6 14:42:11 2005 @@ -1,50 +1,19 @@ -Index: configure.in -diff -c configure.in.orig configure.in -*** configure.in.orig Thu May 22 21:25:00 2003 ---- configure.in Sun Nov 23 22:51:33 2003 +*** configure.in.orig Mon Jun 6 14:34:14 2005 +--- configure.in Mon Jun 6 14:41:03 2005 *************** -*** 73,85 **** +*** 109,115 **** + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" == "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" == "x/usr" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" == "x/usr/local" -o "x$PWLIBDIR" == "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" ---- 73,85 ---- +--- 109,115 ---- + if test "${H323_AVCODEC:-unset}" != "unset" ; then + AC_SUBST(H323_AVCODEC, 1) + AC_DEFINE(H323_AVCODEC, 1, "ffmpeg based avodec found") +! AVCODECINCLUDEDIR=/usr/local/include + AVCODECLIBDIR=/usr/local/lib + STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}" - dnl ######################################################################## - dnl get pwlib directory -! if test "${PWLIBDIR:-unset}" = "unset" ; then - PWLIBDIR=`ptlib-config --prefix` - fi -! if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/share/pwlib/" - fi -! if test "xPWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then - PWLIBDIR="/usr/local/share/pwlib/" - fi - echo "PWLib prefix set to.... $PWLIBDIR" -*************** -*** 96,102 **** - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include/ffmpeg - AVCODECLIBDIR=/usr/local/lib - fi - fi ---- 96,102 ---- - else - AC_CHECK_FILE(/usr/local/include/ffmpeg/avcodec.h, H323_AVCODEC=1) - if test "${H323_AVCODEC:-unset}" != "unset" ; then -! AVCODECINCLUDEDIR=/usr/local/include - AVCODECLIBDIR=/usr/local/lib - fi - fi diff -ruN openh323.old/files/patch-include+h263codec.h openh323/files/patch-include+h263codec.h --- openh323.old/files/patch-include+h263codec.h Tue Mar 8 14:14:10 2005 +++ openh323/files/patch-include+h263codec.h Thu Jan 1 00:00:00 1970 @@ -1,19 +0,0 @@ ---- include/h263codec.h.orig Sat Feb 19 11:29:15 2005 -+++ include/h263codec.h Sat Feb 19 11:38:52 2005 -@@ -92,6 +92,7 @@ - struct AVCodec; - struct AVCodecContext; - struct AVFrame; -+struct AVCodecParserContext; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -478,7 +479,7 @@ - send. Note that for every encode thread, this 1 method is called. Consequently, - code is required to separate out packets from different encode threads. - */ -- static void RtpCallback(void *data, int size, int packetNumber); -+ static void RtpCallback(AVCodecContext *s, void *data, int size, int packetNumber); - - protected: - BOOL Resize(int width, int height); diff -ruN openh323.old/files/patch-include::ffh263codec.h openh323/files/patch-include::ffh263codec.h --- openh323.old/files/patch-include::ffh263codec.h Thu Jan 1 00:00:00 1970 +++ openh323/files/patch-include::ffh263codec.h Mon Jun 6 14:55:03 2005 @@ -0,0 +1,12 @@ +*** include/ffh263codec.h.orig Mon Aug 4 00:03:16 2003 +--- include/ffh263codec.h Mon Jun 6 14:54:31 2005 +*************** +*** 96,101 **** +--- 96,102 ---- + struct AVCodec; + struct AVCodecContext; + struct AVFrame; ++ struct AVCodecParserContext; + + /////////////////////////////////////////////////////////////////////////////// + diff -ruN openh323.old/files/patch-include::h263codec.h openh323/files/patch-include::h263codec.h --- openh323.old/files/patch-include::h263codec.h Thu Jan 1 00:00:00 1970 +++ openh323/files/patch-include::h263codec.h Mon Jun 6 15:36:38 2005 @@ -0,0 +1,19 @@ +*** include/h263codec.h.orig Mon Aug 4 00:03:22 2003 +--- include/h263codec.h Mon Jun 6 14:57:16 2005 +*************** +*** 426,432 **** + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(void *data, int size, int packetNumber); + + protected: + BOOL Resize(int width, int height); +--- 426,432 ---- + send. Note that for every encode thread, this 1 method is called. Consequently, + code is required to separate out packets from different encode threads. + */ +! static void RtpCallback(AVCodecContext *s, void *data, int size, int packet Number); + + protected: + BOOL Resize(int width, int height); diff -ruN openh323.old/files/patch-src::ffh263codec.cxx openh323/files/patch-src::ffh263codec.cxx --- openh323.old/files/patch-src::ffh263codec.cxx Thu Jan 1 00:00:00 1970 +++ openh323/files/patch-src::ffh263codec.cxx Mon Jun 6 15:29:34 2005 @@ -0,0 +1,19 @@ +*** src/ffh263codec.cxx.orig Fri Aug 8 01:52:14 2003 +--- src/ffh263codec.cxx Mon Jun 6 15:28:05 2005 +*************** +*** 140,146 **** + #define MSVC_OPENH323 1 + + extern "C" { +! #include + }; + + +--- 140,146 ---- + #define MSVC_OPENH323 1 + + extern "C" { +! #include + }; + + diff -ruN openh323.old/files/patch-src::h263codec.cxx openh323/files/patch-src::h263codec.cxx --- openh323.old/files/patch-src::h263codec.cxx Tue Mar 8 14:14:10 2005 +++ openh323/files/patch-src::h263codec.cxx Thu Jan 1 00:00:00 1970 @@ -1,20 +0,0 @@ ---- src/h263codec.cxx.orig Fri Jun 6 08:32:08 2003 -+++ src/h263codec.cxx Sat Feb 19 11:19:36 2005 -@@ -109,7 +109,7 @@ - #include "rtp.h" - - extern "C" { --#include -+#include - }; - - -@@ -836,7 +836,7 @@ - } - - --void H323_H263Codec::RtpCallback(void *data, int size, int /*packetNumber*/) -+void H323_H263Codec::RtpCallback(AVCodecContext* /*s*/, void *data, int size, int /*packetNumber*/) - { - encodedPackets.AppendH263Packet(data, size); - }