Add patch to allow building against latest libdvdread.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 28 Mar 2006 23:53:48 +0000 (23:53 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 28 Mar 2006 23:53:48 +0000 (23:53 +0000)
Package-Manager: portage-2.1_pre7-r2

media-video/dvdbackup/ChangeLog
media-video/dvdbackup/Manifest
media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild
media-video/dvdbackup/files/dvdbackup-0.1.1-dvdread.patch [new file with mode: 0644]

index f6e2463b8dd7c9ee0bd9b7f43b7727dd067475bc..7ef11be3cb7607c00140f71403736981eabf11ee 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-video/dvdbackup
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.12 2006/01/31 14:56:06 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.13 2006/03/28 23:53:47 flameeyes Exp $
+
+  28 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+  +files/dvdbackup-0.1.1-dvdread.patch, dvdbackup-0.1.1-r2.ebuild:
+  Add patch to allow building against latest libdvdread.
 
   31 Jan 2006; Joseph Jezak <josejx@gentoo.org> dvdbackup-0.1.1-r1.ebuild:
   Marked ppc stable for bug #120805.
index a3c8872cce4fad5bae414e86def890c84c927578..024bb77c3f2652281c0558391e22af770f7c41b5 100644 (file)
@@ -1,15 +1,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 9970799c81347c2ddaf3c3f24df2af11 ChangeLog 1512
-RMD160 598842adf2cccfc1eb3a5cddfb1c253476696878 ChangeLog 1512
-SHA256 e11959e9d3d2c5fc1fe5704b9ac872ec58d9bc27e4ec52f5015d8657f132a431 ChangeLog 1512
+MD5 e7fb274c31914cd3ac392745618260d5 ChangeLog 1693
+RMD160 79d28edad1ad1960f66de73c007dcc5ec22b5c61 ChangeLog 1693
+SHA256 a41bdd3b53dcf4b113456aa731d202b2908acc5c9c78d05242ecb78ebc61063b ChangeLog 1693
 MD5 eea380f3ba6ff5002822e42d45d21036 dvdbackup-0.1.1-r1.ebuild 824
 RMD160 906b0da57ef7089c594bb65ee954d3a10dd27568 dvdbackup-0.1.1-r1.ebuild 824
 SHA256 283fda062d742b00be23ed86ef39bd4729f7371ef6cfa777fdee0e87df68650b dvdbackup-0.1.1-r1.ebuild 824
-MD5 244e204f47a5dd2fe55e0c747082bff1 dvdbackup-0.1.1-r2.ebuild 874
-RMD160 173a0fcd1b94e537d396bb15354d460ea6b18989 dvdbackup-0.1.1-r2.ebuild 874
-SHA256 a74d701d45abb54497975327929c95e5249798e326d378d64a2cde9a4c36f3d7 dvdbackup-0.1.1-r2.ebuild 874
+MD5 74fd050d25c4fc429ba3ff2fd63a89b1 dvdbackup-0.1.1-r2.ebuild 926
+RMD160 9b613bf37ae7fb92ef8cd6f250b03c10564d3ae3 dvdbackup-0.1.1-r2.ebuild 926
+SHA256 37b72f070cc5f53c1051e75cd6c5c43fc738d1a1bcc2255ba763e066ce57149e dvdbackup-0.1.1-r2.ebuild 926
 MD5 ed788d5aef0628a2098684adad1ec7b8 files/0.1.1-debian-FPE.patch 546
 RMD160 8f8c2076d01fe419a93a755880395546fdf1295b files/0.1.1-debian-FPE.patch 546
 SHA256 3150fb9b90fd99fe7ddfdf5c178a3d4f1757cf11ba1cb3b905e132f40e1339db files/0.1.1-debian-FPE.patch 546
@@ -19,6 +19,9 @@ SHA256 b04956434be7d9142b42175e5ccec43099e74d88337f2bc64a5d60ec820bd51d files/di
 MD5 a407bd72496e53b75fed9eb61a40e6d1 files/digest-dvdbackup-0.1.1-r2 66
 RMD160 7c44a91eea54a51469b58d9a0e7d2b31bc3f838d files/digest-dvdbackup-0.1.1-r2 66
 SHA256 b04956434be7d9142b42175e5ccec43099e74d88337f2bc64a5d60ec820bd51d files/digest-dvdbackup-0.1.1-r2 66
+MD5 f7c783a49090250644f06d3b15602b83 files/dvdbackup-0.1.1-dvdread.patch 364
+RMD160 c784ccd2fdca05ecf6f95c3ada330a5d113dbd63 files/dvdbackup-0.1.1-dvdread.patch 364
+SHA256 e21c86d63822371a740efad7993fde89da5809c46de3dcd8e5c4fbaf26e12cc2 files/dvdbackup-0.1.1-dvdread.patch 364
 MD5 e366405dbcfadf794d833c2a638504e2 files/dvdbackup-0.1.1-mkdir.patch 1073
 RMD160 ebf1afd6565f581807b24e799db2b0b881e2f1f2 files/dvdbackup-0.1.1-mkdir.patch 1073
 SHA256 c7a6cc1a4509c273220d2f0e2aae692bae484adc5e7fbb10059203c1fc9cfe2a files/dvdbackup-0.1.1-mkdir.patch 1073
@@ -26,9 +29,9 @@ MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
 RMD160 d91ff64b3e5f86657b8b6ba02c41a26247a2fac7 metadata.xml 158
 SHA256 f9dd4fb4a7f368e776ea0d7d394dad8f3a674e67f6103d6fb58a8a98971eeee4 metadata.xml 158
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
 
-iD8DBQFD33qQcsIHjyDViGQRAlwFAKCp7zhilZRtHJF7XqM0w/j8JsXzswCfepqi
-lvVCHJlppo6e+KQ/Jixzn6E=
-=/zCw
+iD8DBQFEKcyYAiZjviIA2XgRAjkAAJ0YDEshHbUmOW26P/zzppW2ZJDNPwCgnGwZ
+4RhNBlv7Mfd84FrBipvBVEg=
+=ahKh
 -----END PGP SIGNATURE-----
index 5df43277d12335cbdcf9c0bfaea9ba36f4bde8f5..16f42dc995e95fd80e6bd8bc1d435e0f57a1584e 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild,v 1.1 2005/12/18 01:49:40 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1-r2.ebuild,v 1.2 2006/03/28 23:53:48 flameeyes Exp $
 
 inherit toolchain-funcs eutils
 
@@ -22,11 +22,12 @@ src_unpack() {
        cd ${S}
        epatch "${FILESDIR}/${PV}-debian-FPE.patch"
        epatch "${FILESDIR}/${P}-mkdir.patch"
+       epatch "${FILESDIR}/${P}-dvdread.patch"
 }
 
 src_compile() {
-       $(tc-getCC) ${CFLAGS} -I/usr/include/dvdread \
-               -ldvdread -o dvdbackup src/dvdbackup.c \
+       $(tc-getCC) ${LDFLAGS} ${CFLAGS} -I/usr/include/dvdread \
+               -o dvdbackup src/dvdbackup.c -ldvdread \
                || die "compile failed"
 }
 
diff --git a/media-video/dvdbackup/files/dvdbackup-0.1.1-dvdread.patch b/media-video/dvdbackup/files/dvdbackup-0.1.1-dvdread.patch
new file mode 100644 (file)
index 0000000..27fc9c7
--- /dev/null
@@ -0,0 +1,12 @@
+Index: dvdbackup/src/dvdbackup.c
+===================================================================
+--- dvdbackup.orig/src/dvdbackup.c
++++ dvdbackup/src/dvdbackup.c
+@@ -30,6 +30,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <limits.h>
++#include <stdint.h>
+ #include <dvdread/dvd_reader.h>
+ #include <dvdread/ifo_read.h>
+ #include <dvdread/ifo_print.h>