summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-06-24 12:45:41 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-06-24 12:45:41 +0000
commit484e0a1354d0db11db7936fae2c12dd2f8f8e59d (patch)
tree78933da71ee7f515af929c3c6b13f5a412371af3 /media-plugins/vdr-audiorecorder
parentAdded vdr-1.5.0 patch. (diff)
downloadgentoo-2-484e0a1354d0db11db7936fae2c12dd2f8f8e59d.tar.gz
gentoo-2-484e0a1354d0db11db7936fae2c12dd2f8f8e59d.tar.bz2
gentoo-2-484e0a1354d0db11db7936fae2c12dd2f8f8e59d.zip
Added vdr-1.5.0 patch.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-plugins/vdr-audiorecorder')
-rw-r--r--media-plugins/vdr-audiorecorder/ChangeLog9
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre6-vdr-1.5.0.diff15
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild6
3 files changed, 26 insertions, 4 deletions
diff --git a/media-plugins/vdr-audiorecorder/ChangeLog b/media-plugins/vdr-audiorecorder/ChangeLog
index 98af5dbd5cc4..68f24ae0f6ba 100644
--- a/media-plugins/vdr-audiorecorder/ChangeLog
+++ b/media-plugins/vdr-audiorecorder/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-audiorecorder
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/ChangeLog,v 1.7 2006/10/25 09:10:21 zzam Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/ChangeLog,v 1.8 2007/06/24 12:45:41 zzam Exp $
+
+ 24 Jun 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-audiorecorder-0.1.0_pre6-vdr-1.5.0.diff,
+ vdr-audiorecorder-0.1.0_pre6.ebuild:
+ Added vdr-1.5.0 patch.
25 Oct 2006; Matthias Schwarzott <zzam@gentoo.org>
-files/vdr-audiorecorder-0.1.0_pre4-free_check.diff,
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre6-vdr-1.5.0.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre6-vdr-1.5.0.diff
new file mode 100644
index 000000000000..71fe4ef22688
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre6-vdr-1.5.0.diff
@@ -0,0 +1,15 @@
+diff -NaurwB audiorecorder-0.1.0-pre6-1.4.5/audioreceiver.c audiorecorder-0.1.0-pre6-1.5.0/audioreceiver.c
+--- audiorecorder-0.1.0-pre6-1.4.5/audioreceiver.c 2006-08-31 19:20:10.000000000 +0200
++++ audiorecorder-0.1.0-pre6-1.5.0/audioreceiver.c 2007-01-19 17:43:51.000000000 +0100
+@@ -9,7 +9,11 @@
+ /* --- cAudioReceiver ------------------------------------------------------- */
+
+ cAudioReceiver::cAudioReceiver(const cChannel *_channel)
++#if VDRVERSNUM >= 10500
++:cReceiver(_channel->GetChannelID(), -2, _channel->Apid(0)), cThread()
++#else
+ :cReceiver(0, -2, _channel->Apid(0)), cThread()
++#endif
+ {
+ channel = _channel;
+
diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild
index 645eace4c0ba..48ee0ce3bac1 100644
--- a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild,v 1.2 2006/09/21 14:29:25 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre6.ebuild,v 1.3 2007/06/24 12:45:41 zzam Exp $
inherit vdr-plugin
@@ -24,6 +24,8 @@ DEPEND=">=media-video/vdr-1.3.31
RDEPEND="${DEPEND}"
+PATCHES="${FILESDIR}/${P}-vdr-1.5.0.diff"
+
src_install() {
vdr-plugin_src_install
keepdir /var/vdr/audiorecorder