summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-17 15:59:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-17 15:59:30 +0000
commit5da866fc0395886e12f93c05b22c24e82163bd87 (patch)
tree8eb1830286a43e9dcbc549593cd8191a8bbf06fe /media-video/vls
parentre-enable workaround #130264 (diff)
downloadgentoo-2-5da866fc0395886e12f93c05b22c24e82163bd87.tar.gz
gentoo-2-5da866fc0395886e12f93c05b22c24e82163bd87.tar.bz2
gentoo-2-5da866fc0395886e12f93c05b22c24e82163bd87.zip
Add patch to build with latest libdvdread, bug #128840.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-video/vls')
-rw-r--r--media-video/vls/ChangeLog6
-rw-r--r--media-video/vls/files/vls-0.5.6-dvdread.patch25
-rw-r--r--media-video/vls/vls-0.5.6-r2.ebuild5
3 files changed, 33 insertions, 3 deletions
diff --git a/media-video/vls/ChangeLog b/media-video/vls/ChangeLog
index 226f4f45d586..3737c7f4c523 100644
--- a/media-video/vls/ChangeLog
+++ b/media-video/vls/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/vls
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vls/ChangeLog,v 1.23 2006/03/18 12:34:34 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vls/ChangeLog,v 1.24 2006/04/17 15:59:30 flameeyes Exp $
+
+ 17 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/vls-0.5.6-dvdread.patch, vls-0.5.6-r2.ebuild:
+ Add patch to build with latest libdvdread, bug #128840.
18 Mar 2006; Matthias Schwarzott <zzam@gentoo.org> vls-0.5.5-r1.ebuild,
vls-0.5.6-r1.ebuild, vls-0.5.6-r2.ebuild:
diff --git a/media-video/vls/files/vls-0.5.6-dvdread.patch b/media-video/vls/files/vls-0.5.6-dvdread.patch
new file mode 100644
index 000000000000..bd6ca5b7816c
--- /dev/null
+++ b/media-video/vls/files/vls-0.5.6-dvdread.patch
@@ -0,0 +1,25 @@
+Index: vls-0.5.6/configure.in
+===================================================================
+--- vls-0.5.6.orig/configure.in
++++ vls-0.5.6/configure.in
+@@ -312,7 +312,7 @@ AC_HELP_STRING(--disable-dvd, DVD suppor
+ if test x$enable_dvd != xno
+ then
+ AC_CHECK_HEADER(dvdread/dvd_reader.h,
+- HAVE_LIBDVDREAD=1, HAVE_LIBDVDREAD=0)
++ HAVE_LIBDVDREAD=1, HAVE_LIBDVDREAD=0, [#include <stdint.h>])
+ if test ${HAVE_LIBDVDREAD} = 1
+ then
+ if test ${SYS} != mingw32 && test ${SYS} != darwin
+Index: vls-0.5.6/src/modules/dvdreader/dvdreader.cpp
+===================================================================
+--- vls-0.5.6.orig/src/modules/dvdreader/dvdreader.cpp
++++ vls-0.5.6/src/modules/dvdreader/dvdreader.cpp
+@@ -34,6 +34,7 @@
+
+ #include "../../core/iso_lang.h"
+
++#include <stdint.h>
+ #include <dvdread/dvd_reader.h>
+ #include <dvdread/ifo_types.h>
+ #include <dvdread/ifo_read.h>
diff --git a/media-video/vls/vls-0.5.6-r2.ebuild b/media-video/vls/vls-0.5.6-r2.ebuild
index e2644f9f428c..cf6fe9b52217 100644
--- a/media-video/vls/vls-0.5.6-r2.ebuild
+++ b/media-video/vls/vls-0.5.6-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vls/vls-0.5.6-r2.ebuild,v 1.10 2006/03/18 12:34:34 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vls/vls-0.5.6-r2.ebuild,v 1.11 2006/04/17 15:59:30 flameeyes Exp $
inherit eutils
@@ -26,7 +26,8 @@ src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${P}-gcc34.patch
+ epatch "${FILESDIR}/${P}-gcc34.patch"
+ epatch "${FILESDIR}/${P}-dvdread.patch"
}
src_compile() {