Bug 76931 - openh323 port won't build if ffmpeg is installed
Summary: openh323 port won't build if ffmpeg is installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Volker Stolz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 00:30 UTC by Mark Knight
Modified: 2005-03-16 12:17 UTC (History)
0 users

See Also:


Attachments
openh323.diff (6.47 KB, patch)
2005-02-19 13:26 UTC, Jan Stocker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knight 2005-02-01 00:30:21 UTC
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.
Comment 1 Jan Stocker 2005-02-19 13:26:39 UTC
removing ffmpeg completly removes the avcodec support. The following
patch will fix the building process for me.

Comment 2 plasma 2005-03-07 08:37:07 UTC
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
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-03-08 14:14:18 UTC
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! 


Comment 4 Volker Stolz freebsd_committer freebsd_triage 2005-03-08 14:14:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

I committed this.
Comment 5 Volker Stolz freebsd_committer freebsd_triage 2005-03-16 12:17:25 UTC
State Changed
From-To: patched->closed

Issue resolved