]> git.pld-linux.org Git - packages/libdvdread.git/blobdiff - libdvdread-alpha.patch
rm doc/libdvdread directory in install section
[packages/libdvdread.git] / libdvdread-alpha.patch
index 519e4e4523c9a545a69e35acc0a63cec3f228070..0ddd0539203b4af11b8a4c8fb0d3f17770e273c9 100644 (file)
@@ -1,30 +1,20 @@
---- libdvdread-0.9.3/dvdread/dvd_reader.c~     Sun May 19 17:48:41 2002
-+++ libdvdread-0.9.3/dvdread/dvd_reader.c      Mon Jun 24 18:48:31 2002
-@@ -769,7 +769,12 @@
-               off = DVDinput_seek( dvd_file->title_devs[ i ], 
-                                    (int)offset, DVDINPUT_NOFLAGS );
-                 if( off < 0 || off != (int)offset ) {
--                  fprintf( stderr, "libdvdread: Can't seek to block %d\n", 
-+                  fprintf( stderr, "libdvdread: Can't seek to block "
-+#ifdef __alpha__
-+                                  "%ld\n",
-+#else
-+                                  "%d\n",
-+#endif
-                            offset );
-                   return off < 0 ? off : 0;
-               }
-@@ -785,7 +790,12 @@
-                 off = DVDinput_seek( dvd_file->title_devs[ i ], 
-                                    (int)offset, DVDINPUT_NOFLAGS );
-                 if( off < 0 || off != (int)offset ) {
--                  fprintf( stderr, "libdvdread: Can't seek to block %d\n", 
-+                  fprintf( stderr, "libdvdread: Can't seek to block "
-+#ifdef __alpha__
-+                                  "%ld\n",
-+#else
-+                                  "%d\n",
-+#endif
-                            offset );
-                   return off < 0 ? off : 0;
-               }
+--- libdvdread-4.1.3/src/dvd_reader.c.orig     2008-10-12 00:15:30.820453108 +0200
++++ libdvdread-4.1.3/src/dvd_reader.c  2008-10-12 00:16:08.323454328 +0200
+@@ -1151,7 +1151,7 @@
+       if( ( offset + block_count ) <= dvd_file->title_sizes[ i ] ) {
+         off = dvdinput_seek( dvd_file->title_devs[ i ], (int)offset );
+         if( off < 0 || off != (int)offset ) {
+-          fprintf( stderr, "libdvdread: Can't seek to block %d\n",
++          fprintf( stderr, "libdvdread: Can't seek to block %u\n",
+                    offset );
+           return off < 0 ? off : 0;
+         }
+@@ -1166,7 +1166,7 @@
+         /* Read part 1 */
+         off = dvdinput_seek( dvd_file->title_devs[ i ], (int)offset );
+         if( off < 0 || off != (int)offset ) {
+-          fprintf( stderr, "libdvdread: Can't seek to block %d\n",
++          fprintf( stderr, "libdvdread: Can't seek to block %u\n",
+                    offset );
+           return off < 0 ? off : 0;
+         }
This page took 0.057358 seconds and 4 git commands to generate.