summaryrefslogtreecommitdiffstats
path: root/dvdread
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-16 07:00:08 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-16 07:00:08 +0000
commit12b340732adb01df65b7a59c6d3ffb92d486f022 (patch)
treee849185216becada8cb0bcfd1fabba50f343a4e6 /dvdread
parentc5531425eace87a11c4804daf27c988228223d41 (diff)
downloadmpv-12b340732adb01df65b7a59c6d3ffb92d486f022.tar.bz2
mpv-12b340732adb01df65b7a59c6d3ffb92d486f022.tar.xz
Sync local diff with current version.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24076 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dvdread')
-rw-r--r--dvdread/libdvdread_changes.diff37
1 files changed, 5 insertions, 32 deletions
diff --git a/dvdread/libdvdread_changes.diff b/dvdread/libdvdread_changes.diff
index d6124a78ac..af8dd2fca7 100644
--- a/dvdread/libdvdread_changes.diff
+++ b/dvdread/libdvdread_changes.diff
@@ -56,14 +56,7 @@
--- dvdread.orig/dvd_reader.c 2007-08-06 13:34:37.000000000 +0200
+++ dvdread/dvd_reader.c 2007-08-06 13:35:19.000000000 +0200
-@@ -33,18 +37,30 @@
- #include <limits.h>
- #include <dirent.h>
-
--#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__) || defined(__DragonFly__)
- #define SYS_BSD 1
- #endif
+@@ -39,12 +37,24 @@
#if defined(__sun)
#include <sys/mnttab.h>
@@ -98,27 +91,7 @@
struct dvd_reader_s {
/* Basic information. */
-@@ -402,6 +418,11 @@
- Darwin /dev/rdisk0, it needs to be the raw device
- BSD/OS /dev/sr0c (if not mounted) or /dev/rsr0c ('c' any letter will do) */
- static char *bsd_block2char( const char *path )
-+#if defined(__FreeBSD__)
-+{
-+ return (char *) strdup( path );
-+}
-+#else
- {
- char *new_path;
-
-@@ -416,6 +437,7 @@
-
- return new_path;
- }
-+#endif /* __FreeBSD__ */
- #endif
-
-
-@@ -481,7 +503,7 @@
+@@ -494,7 +503,7 @@
char *path_copy;
#if defined(SYS_BSD)
struct fstab* fe;
@@ -127,7 +100,7 @@
FILE *mntfile;
#endif
-@@ -585,7 +607,7 @@
+@@ -598,7 +607,7 @@
}
fclose( mntfile );
}
@@ -136,7 +109,7 @@
mntfile = fopen( MOUNTED, "r" );
if( mntfile ) {
struct mntent *me;
-@@ -610,6 +632,9 @@
+@@ -623,6 +632,9 @@
}
fclose( mntfile );
}
@@ -146,7 +119,7 @@
#endif
if( !dev_name ) {
if(verbose >= 1) {
-@@ -828,8 +853,8 @@
+@@ -841,8 +853,8 @@
}
if( dvd->css_state == 1 /* Need key init */ ) {