summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-vdrrip/ChangeLog8
-rw-r--r--media-plugins/vdr-vdrrip/files/vdr-vdrrip-0.3.0-glibc-2.10.patch12
-rw-r--r--media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild7
3 files changed, 22 insertions, 5 deletions
diff --git a/media-plugins/vdr-vdrrip/ChangeLog b/media-plugins/vdr-vdrrip/ChangeLog
index 47749e07e1b0..7cc3f7ecf8a4 100644
--- a/media-plugins/vdr-vdrrip/ChangeLog
+++ b/media-plugins/vdr-vdrrip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-vdrrip
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrrip/ChangeLog,v 1.7 2007/09/17 22:56:35 hd_brummy Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrrip/ChangeLog,v 1.8 2009/08/08 22:24:39 ssuominen Exp $
+
+ 08 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ vdr-vdrrip-0.3.0-r7.ebuild, +files/vdr-vdrrip-0.3.0-glibc-2.10.patch:
+ Fix building with GLIBC 2.10+ wrt #272517.
*vdr-vdrrip-0.3.0-r7 (17 Sep 2007)
diff --git a/media-plugins/vdr-vdrrip/files/vdr-vdrrip-0.3.0-glibc-2.10.patch b/media-plugins/vdr-vdrrip/files/vdr-vdrrip-0.3.0-glibc-2.10.patch
new file mode 100644
index 000000000000..60001e0db678
--- /dev/null
+++ b/media-plugins/vdr-vdrrip/files/vdr-vdrrip-0.3.0-glibc-2.10.patch
@@ -0,0 +1,12 @@
+diff -ur vdrrip-0.3.0.orig/a-tools.c vdrrip-0.3.0/a-tools.c
+--- vdrrip-0.3.0.orig/a-tools.c 2004-02-04 20:15:28.000000000 +0200
++++ vdrrip-0.3.0/a-tools.c 2009-08-09 01:25:37.000000000 +0300
+@@ -70,7 +70,7 @@
+ }
+
+ int strnumcol(const char *s, char *d) {
+- char *s1;
++ const char *s1;
+ int i, l;
+
+ // let's do some checks:
diff --git a/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild b/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild
index 0bac075df56f..97569a479e13 100644
--- a/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild
+++ b/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild,v 1.1 2007/09/17 22:56:35 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrrip/vdr-vdrrip-0.3.0-r7.ebuild,v 1.2 2009/08/08 22:24:39 ssuominen Exp $
inherit vdr-plugin eutils
@@ -11,7 +11,7 @@ SRC_URI="http://www.a-land.de/${P}.tgz
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.2.0"
@@ -23,6 +23,7 @@ RDEPEND="${DEPEND}
src_unpack() {
vdr-plugin_src_unpack
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
cp ${DISTDIR}/queuehandler-fixed-0.3.0.sh ${S}/scripts/queuehandler.sh
if