[MPlayer-dev-eng] [PATCH] configure detection of linux/cdrom.h
Denis Ducamp
Denis.Ducamp at hsc.fr
Thu May 2 11:48:16 CEST 2002
Hi,
here is a patch to configure to successfully detect linux/cdrom.h file on my
system :
Slackware 7.1-current
gcc 2.95.2
glibc 2.2.2
Linux 2.2.19pre16
without it, the test file fails with "parse error before `caddr_t'" error,
DVD_STRUCT_IN_LINUX_CDROM_H is undef and libmpdvdkit/ioctl.c doesn't compile
ioctl.c: In function `ioctl_ReadCopyright':
ioctl.c:108: `dvd_struct' undeclared (first use in this function)
[...]
I have no zone 1 dvd handy so I can't test if this works, but unencrypted
dvd work.
Thanks for mplayer. Best regards,
Denis Ducamp.
bash-2.04$ cvs diff -u
? fibmap_mplayer
cvs server: Diffing .
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.454
diff -u -r1.454 configure
--- configure 29 Apr 2002 16:24:22 -0000 1.454
+++ configure 2 May 2002 09:37:49 -0000
@@ -1584,6 +1584,7 @@
echocheck "linux/cdrom.h"
cat > $TMPC << EOF
+#include <sys/types.h>
#include <linux/cdrom.h>
int main(void) { return 0; }
EOF
--
.signature en deuil
More information about the MPlayer-dev-eng
mailing list