[arch-commits] Commit in libdvdnav/trunk (Fix-reading-DVD-label.patch PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Jan 18 10:15:10 UTC 2015


    Date: Sunday, January 18, 2015 @ 11:15:10
  Author: jgc
Revision: 229519

upgpkg: libdvdnav 5.0.2-1

Added:
  libdvdnav/trunk/Fix-reading-DVD-label.patch
Modified:
  libdvdnav/trunk/PKGBUILD

-----------------------------+
 Fix-reading-DVD-label.patch |   27 +++++++++++++++++++++++++++
 PKGBUILD                    |    9 ++++++---
 2 files changed, 33 insertions(+), 3 deletions(-)

Added: Fix-reading-DVD-label.patch
===================================================================
--- Fix-reading-DVD-label.patch	                        (rev 0)
+++ Fix-reading-DVD-label.patch	2015-01-18 10:15:10 UTC (rev 229519)
@@ -0,0 +1,27 @@
+From 1cdbd6909097cf36f3357a92de482ec9980ae7ed Mon Sep 17 00:00:00 2001
+From: John Stebbins <stebbins at jetheaddev.com>
+Date: Tue, 13 Jan 2015 11:07:03 -0700
+Subject: [PATCH] Fix reading DVD label
+
+This was inadvertently removed with REMAP
+---
+ src/vm/vm.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/vm/vm.c b/src/vm/vm.c
+index 7e4d594..1e87376 100644
+--- a/src/vm/vm.c
++++ b/src/vm/vm.c
+@@ -402,6 +402,9 @@ int vm_reset(vm_t *vm, const char *dvdroot) {
+       /* return 0; Not really used for now.. */
+     }
+     /* ifoRead_TXTDT_MGI(vmgi); Not implemented yet */
++    if(dvd_read_name(vm->dvd_name, vm->dvd_serial, dvdroot) != 1) {
++      fprintf(MSG_OUT, "libdvdnav: vm: dvd_read_name failed\n");
++    }
+   }
+   if (vm->vmgi) {
+     int i, mask;
+-- 
+1.7.10.4
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-18 10:12:51 UTC (rev 229518)
+++ PKGBUILD	2015-01-18 10:15:10 UTC (rev 229519)
@@ -4,7 +4,7 @@
 # contributor Sarah Hay <sarahhay at mb.sympatico.ca>
 
 pkgname=libdvdnav
-pkgver=5.0.1
+pkgver=5.0.2
 pkgrel=1
 pkgdesc="The library for xine-dvdnav plugin."
 arch=('i686' 'x86_64')
@@ -12,11 +12,14 @@
 url="http://dvdnav.mplayerhq.hu/"
 depends=('libdvdread')
 makedepends=('git')
-source=(git://git.videolan.org/libdvdnav.git#tag=$pkgver)
-sha256sums=('SKIP')
+source=(git://git.videolan.org/libdvdnav.git#tag=$pkgver
+        Fix-reading-DVD-label.patch)
+sha256sums=('SKIP'
+            'f4300e3f38cdcb985c8f3c765ad0503350a96b91496c3cd63c7de5a5cb937119')
 
 prepare() {
   cd $pkgname
+  patch -Np1 -i ../Fix-reading-DVD-label.patch
   autoreconf -fi
 }
 



More information about the arch-commits mailing list