[MPlayer-users] [PATCH] libdvdread autodetect fails

Steven M. Schultz sms at 2BSD.COM
Sat Jul 19 07:01:29 CEST 2003


Greetings -

	The autodetect logic in ./configure fails if the latest libdvdread
	is installed on the system.

	The API has changed slightly in that an explicit <stdint.h> _or_
	<inttypes.h> must be #include'd before the libdvdread
	headers.

	Since <inttypes.h> is a required file according to ./configure
	the check for libdvdread in MPlayer's ./configure script is
	trivial: add a '#include <inttypes.h>'

	Patch attached (it's a one line change).

	Cheers,
	Steven Schultz


-------------- next part --------------
--- configure.dist	Fri Jul 18 10:09:00 2003
+++ configure	Fri Jul 18 10:10:13 2003
@@ -3850,6 +3850,7 @@
 echocheck "DVD support (libdvdread - new style)"
 if test "$_dvdread" = auto ; then
   cat > $TMPC << EOF
+#include <inttypes.h>
 #include <dvdread/dvd_reader.h>
 #include <dvdread/ifo_types.h>
 #include <dvdread/ifo_read.h>


More information about the MPlayer-users mailing list