Cannot build net/openh323 port if the ffmpeg port is installed. Removing ffmpeg avoids the problem. c++ -I/usr/local/include -DP_FREEBSD=503101 -I/usr/local/include -I/usr/local/in clude -D_REENTRANT -Wall -DP_FREEBSD=503101 -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/u sr/ports/devel/pwlib/work/pwlib/include/ptlib/unix -DPTRACING -I/usr/ports/net/o penh323/work/openh323/include -DHAS_OSS -DPTRACING -I/usr/ports/devel/pwlib/work /pwlib/include -DNDEBUG -O -pipe -march=pentiumpro -c h263codec.cxx -o /usr/port s/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/h263codec.o In file included from /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib /../../contain.h:776, from /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib /contain.h:120, from /usr/ports/devel/pwlib/work/pwlib/include/ptlib.h:139, from h263codec.cxx:98: /usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl: In constructor `PAb stractList::PAbstractList()': /usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl:419: warning: right- hand operand of comma has no effect h263codec.cxx: In member function `void H323_H263Codec::InitialiseCodec()': h263codec.cxx:523: error: invalid conversion from `void (*)(void*, int, int)' to `void (*)(AVCodecContext*, void*, int, int)' /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h: At g lobal scope: /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h:458: warning: inline function `static BOOL PDirectory::Remove(const PString&)' used b ut never defined gmake[2]: *** [/usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/h263c odec.o] Error 1 gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src' gmake[1]: *** [opt] Error 2 gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323' gmake: *** [optnoshared] Error 2 *** Error code 2 Stop in /usr/ports/net/openh323.
removing ffmpeg completly removes the avcodec support. The following patch will fix the building process for me.
After applying the patch from Jan Stocker <Jan.Stocker@t-online.de>, ports/open323 compiles successfully. I hope to see the patch committed soon. -- plasma
State Changed From-To: open->patched A fix has been submitted and applied. I'll leave this PR around a bit, also to track possible fallout here. Thanks to Jan for coming up with a solution!
Responsible Changed From-To: freebsd-ports-bugs->vs I committed this.
State Changed From-To: patched->closed Issue resolved