summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2007-03-25 18:18:57 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2007-03-25 18:18:57 +0000
commite27c82d73394ff6148087a82dc19ead4c13cfaca (patch)
treee229e93f1d453d5283644a46a0fab3f5d7a257f3 /media-plugins/vdr-radio
parentVersion bump (diff)
downloadgentoo-2-e27c82d73394ff6148087a82dc19ead4c13cfaca.tar.gz
gentoo-2-e27c82d73394ff6148087a82dc19ead4c13cfaca.tar.bz2
gentoo-2-e27c82d73394ff6148087a82dc19ead4c13cfaca.zip
patch added; ready for VDR-1.5.x
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins/vdr-radio')
-rw-r--r--media-plugins/vdr-radio/ChangeLog6
-rw-r--r--media-plugins/vdr-radio/files/vdr-radio-0.2.0-vdr-1.5.1.diff18
-rw-r--r--media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild4
3 files changed, 26 insertions, 2 deletions
diff --git a/media-plugins/vdr-radio/ChangeLog b/media-plugins/vdr-radio/ChangeLog
index 60dc93bf9923..8cee74b261c4 100644
--- a/media-plugins/vdr-radio/ChangeLog
+++ b/media-plugins/vdr-radio/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-radio
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/ChangeLog,v 1.12 2007/03/13 12:25:02 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/ChangeLog,v 1.13 2007/03/25 18:18:57 hd_brummy Exp $
+
+ 25 Mar 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-radio-0.2.0-vdr-1.5.1.diff, vdr-radio-0.2.0.ebuild:
+ patch added; ready for VDR-1.5.x
13 Mar 2007; Matthias Schwarzott <zzam@gentoo.org> vdr-radio-0.2.0.ebuild:
Marked stable on x86.
diff --git a/media-plugins/vdr-radio/files/vdr-radio-0.2.0-vdr-1.5.1.diff b/media-plugins/vdr-radio/files/vdr-radio-0.2.0-vdr-1.5.1.diff
new file mode 100644
index 000000000000..c05b9c4372db
--- /dev/null
+++ b/media-plugins/vdr-radio/files/vdr-radio-0.2.0-vdr-1.5.1.diff
@@ -0,0 +1,18 @@
+Support for VDR-1.5.x
+
+Joerg Bornkessel (hd_brummy@gentoo.org) 25 Mar 2007
+diff -Naur radio-0.2.0.orig/radioaudio.c radio-0.2.0/radioaudio.c
+--- radio-0.2.0.orig/radioaudio.c 2007-03-25 20:07:23.000000000 +0200
++++ radio-0.2.0/radioaudio.c 2007-03-25 20:09:23.000000000 +0200
+@@ -141,7 +141,11 @@
+ // --- cRDSReceiver ------------------------------------------------------------
+
+ cRDSReceiver::cRDSReceiver(int Pid)
++#if APIVERSNUM > 10500
++:cReceiver(chan->GetChannelID(), -1, Pid, NULL, NULL, NULL)
++#else
+ :cReceiver(0, -1, Pid)
++#endif
+ {
+ if (S_Verbose >= 1)
+ printf("vdr-radio: additional RDS-Receiver starts on Pid=%d\n", Pid);
diff --git a/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild b/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild
index 7da6d20d9f16..7263584470fa 100644
--- a/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild
+++ b/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild,v 1.2 2007/03/13 12:25:02 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/vdr-radio-0.2.0.ebuild,v 1.3 2007/03/25 18:18:57 hd_brummy Exp $
inherit vdr-plugin eutils
@@ -17,6 +17,8 @@ DEPEND=">=media-video/vdr-1.3.43"
VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh-0.2.0"
+PATCHES="${FILESDIR}/${P}-vdr-1.5.1.diff"
+
src_install() {
vdr-plugin_src_install