[packages/libdvdread] - updated to 5.0.2 - removed obsolete alpha,buffix patches

qboosh qboosh at pld-linux.org
Mon Feb 16 18:22:18 CET 2015


commit 07f2a07cf10aa00d9e76ba5482cfe5d81de1ae53
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 16 18:25:00 2015 +0100

    - updated to 5.0.2
    - removed obsolete alpha,buffix patches

 libdvdread-alpha.patch  | 20 --------------------
 libdvdread-buffix.patch | 25 -------------------------
 libdvdread.spec         |  8 ++------
 3 files changed, 2 insertions(+), 51 deletions(-)
---
diff --git a/libdvdread.spec b/libdvdread.spec
index ae0cf6e..1c3204c 100644
--- a/libdvdread.spec
+++ b/libdvdread.spec
@@ -5,15 +5,13 @@
 Summary:	Library to read DVD images
 Summary(pl.UTF-8):	Biblioteka do odczytu obrazów DVD-Video
 Name:		libdvdread
-Version:	5.0.0
+Version:	5.0.2
 Release:	1
 License:	GPL v2+
 Group:		Libraries
 #Source0:	http://dvdnav.mplayerhq.hu/releases/%{name}-%{version}.tar.xz
 Source0:	http://download.videolan.org/pub/videolan/libdvdread/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	20b964a3fb290b8df45c6b25d37411de
-Patch0:		%{name}-alpha.patch
-Patch1:		%{name}-buffix.patch
+# Source0-md5:	4e72ebbd70663752d97db7ab953e12b9
 URL:		http://dvdnav.mplayerhq.hu/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1.6
@@ -61,8 +59,6 @@ Statyczne biblioteki libdvdread.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/libdvdread-alpha.patch b/libdvdread-alpha.patch
deleted file mode 100644
index 0ddd053..0000000
--- a/libdvdread-alpha.patch
+++ /dev/null
@@ -1,20 +0,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;
-         }
diff --git a/libdvdread-buffix.patch b/libdvdread-buffix.patch
deleted file mode 100644
index e8b6260..0000000
--- a/libdvdread-buffix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- libdvdread-4.2.0/src/dvd_input.c.orig	2009-06-09 00:02:37.000000000 +0200
-+++ libdvdread-4.2.0/src/dvd_input.c	2012-03-16 20:01:21.501749182 +0100
-@@ -218,12 +218,13 @@ static int file_read(dvd_input_t dev, vo
- {
-   size_t len;
-   ssize_t ret;
-+  unsigned char *buf = buffer;
- 
-   len = (size_t)blocks * DVD_VIDEO_LB_LEN;
- 
-   while(len > 0) {
- 
--    ret = read(dev->fd, buffer, len);
-+    ret = read(dev->fd, buf, len);
- 
-     if(ret < 0) {
-       /* One of the reads failed, too bad.  We won't even bother
-@@ -242,6 +243,7 @@ static int file_read(dvd_input_t dev, vo
-       return (int) (bytes / DVD_VIDEO_LB_LEN);
-     }
- 
-+    buf += ret;
-     len -= ret;
-   }
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libdvdread.git/commitdiff/07f2a07cf10aa00d9e76ba5482cfe5d81de1ae53



More information about the pld-cvs-commit mailing list