Mplayer fails to build when the WITH_GTK1 knob is not set because the videx radeon and rage128 drivers require X11 include files. The WITH_GTK1 knob adds the --enable-gui configure argument which automatically adds their location when compiling. If this is not set then currently the build will fail. Attached patch corrects the Makefile for these drivers so that the X11 includes are always used when compiling them. This is the same problem reported in PR 67913 but that patch does not fix the problem when building with the WITHOUT_GUI knob set. Maintainer CC'ed on PR. Port build error output: cc -c -I../libvo/ -I../../libvo -O -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/freetype2 -I/usr/local/include -fPIC -I. -I.. -o radeon_vid.o radeon_vid.c radeon_vid.c:29:22: X11/Xlib.h: No such file or directory radeon_vid.c: In function `probe_fireGL_driver': radeon_vid.c:925: error: `Display' undeclared (first use in this function) radeon_vid.c:925: error: (Each undeclared identifier is reported only once radeon_vid.c:925: error: for each function it appears in.) radeon_vid.c:925: error: `dp' undeclared (first use in this function) radeon_vid.c:927: warning: initialization makes pointer from integer without a cast gmake[2]: *** [radeon_vid.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mplayer.old/work/MPlayer-1.0pre4/vidix/drivers' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer.old/work/MPlayer-1.0pre4/vidix' gmake: *** [vidix/libvidix.a] Error 2 *** Error code 2
Responsible Changed From-To: freebsd-advocacy->freebsd-ports-bugs Reclassify
State Changed From-To: open->closed Fix committed.