When the devel/libevent port is installed xawtv fails to build Fix: Don't know exactly how to fix it but the problem is that if devel/libevent is installed the header /usr/local/include/event.h is included instead of the event.h included with xawtv. How-To-Repeat: Install devel/libevent then build xawtv: [...] cc -O -pipe -O -pipe -I/usr/local/include -L/usr/local/lib -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include/X11/fonts -I. -I./vbistuff -I./x11 -I./jwz -I./common -I./console -I./x11 -I./structs -I./libng -Llibng -DCONFIGFILE="/usr/X11R6/lib/X11/xawtvrc" -DLIBDIR="/usr/X11R6/lib/xawtv" -DDATADIR="/usr/X11R6/share/xawtv" -DVERSION="3.95" -fPIC -Wp,-MD,mk/x11_xt.tmp -c -o x11/xt.o x11/xt.c x11/xt.c: In function `EventAction': x11/xt.c:2041: error: too many arguments to function `event_dispatch' gmake: *** [x11/xt.o] Error 1 *** Error code 2 Stop in /usr/ports/multimedia/xawtv.
Responsible Changed From-To: freebsd-ports-bugs->petef Over to maintainer
This patch isn't elegant, but it's a fix for this. -Phil. --- Makefile.old Sat Nov 12 05:00:52 2005 +++ Makefile Fri Feb 3 19:09:25 2006 @@ -34,7 +34,7 @@ USE_XPM= yes USE_X_PREFIX= yes USE_REINPLACE= yes -CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" +CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" CFLAGS="-I${WRKSRC}/common" MAKE_ENV= verbose=yes INSTALLS_SHLIB= yes
Responsible Changed From-To: petef->oliver Over to maintainer of multimedia/xawtv. To submitter: adding the literal name of the port at the beginning of the Synopsis will help to keep PRs from being misidentified like this and thus being misassigned.
State Changed From-To: open->closed Fixed, Thanks!