[MPlayer-users] portability patch for libmpdvdkit
Steven M. Schultz
sms at 2BSD.COM
Thu May 9 05:41:02 CEST 2002
Greetings -
I just finished testing the patch below on my system - works ok.
It is quite small (two lines in configure and one line in the file
libmpdvdkit/ioctl.c) so I'm hoping it won't be too much trouble to
include it.
Cheers,
Steven Schultz
sms at 2bsd.com
--------------------------cut here-------------------
--- configure.dist Wed May 8 20:19:22 2002
+++ configure Wed May 8 20:20:31 2002
@@ -1605,9 +1605,9 @@
echores "$_dvd"
-echocheck "extras/BSDI_dvdioctl/dvd.h"
+echocheck "BSDI dvd.h"
cat > $TMPC << EOF
-#include <extras/BSDI_dvdioctl/dvd.h>
+#include <dvd.h>
int main(void) { return 0; }
EOF
_bsdi_dvd=no
--- libmpdvdkit/ioctl.c.dist Wed Apr 24 12:28:03 2002
+++ libmpdvdkit/ioctl.c Sun Apr 28 15:10:43 2002
@@ -53,7 +53,7 @@
# include <dvd.h>
#endif
#ifdef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
-# include <BSDI_dvdioctl/dvd.h>
+# include <dvd.h>
#endif
#ifdef SYS_BEOS
# include <malloc.h>
More information about the MPlayer-users
mailing list