[MPlayer-users] Build regression on FreeBSD

Thomas Zander thomas.e.zander at googlemail.com
Sat Dec 19 20:21:08 CET 2015


porting an up-to-date snapshot to FreeBSD I noticed two build
regressions and want to kindly ask for resolving those upstream:

1) Makefile (at root dir)
   codec-cfg.c now includes <vdpau/vdpau.h>
   On FreeBSD this file ends up in LOCALBASE (by default
   /usr/local/include) which is not included in the default compiler
   search path, so in its build target
   codec-cfg$(EXESUF) .... the compile command
   $(HOST_CC) $(HOSTCFLAGS) -o $@ $<
   is not sufficient. The include path for localbase needs to be added.

2) stream/stream_vcd.c:
   when building with libcdio, vcd_read_fbsd.h is no longer included,
   which, in turn, causes for sys/cdrio.h not to be included.
   Subsequently CDRIOCSETBLOCKSIZE is an undefined symbol and
   compilation breaks. Including sys/cdrio.h in stream/stream_vcd.c
   resolves the problem and the build completes.

Best regards

More information about the MPlayer-users mailing list