summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-12-03 15:41:24 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-12-03 15:41:24 +0000
commite4a6e8ecc79fb02216fd923e9f0eb444e7df718d (patch)
tree7aa28cda81963549233f80e0330187698d041411 /media-plugins/vdr-streamdev-client
parentAdded patch to compile also with vdr-1.4.4_p1 (diff)
downloadgentoo-2-e4a6e8ecc79fb02216fd923e9f0eb444e7df718d.tar.gz
gentoo-2-e4a6e8ecc79fb02216fd923e9f0eb444e7df718d.tar.bz2
gentoo-2-e4a6e8ecc79fb02216fd923e9f0eb444e7df718d.zip
Added patch to compile also with vdr-1.4.4_p1
(Portage version: 2.1.2_rc2-r4)
Diffstat (limited to 'media-plugins/vdr-streamdev-client')
-rw-r--r--media-plugins/vdr-streamdev-client/ChangeLog7
-rw-r--r--media-plugins/vdr-streamdev-client/files/vdr-streamdev-uint64.diff12
-rw-r--r--media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild4
3 files changed, 21 insertions, 2 deletions
diff --git a/media-plugins/vdr-streamdev-client/ChangeLog b/media-plugins/vdr-streamdev-client/ChangeLog
index db69e4b9819c..a24211088a67 100644
--- a/media-plugins/vdr-streamdev-client/ChangeLog
+++ b/media-plugins/vdr-streamdev-client/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-streamdev-client
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/ChangeLog,v 1.4 2006/08/15 10:09:15 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/ChangeLog,v 1.5 2006/12/03 15:41:24 zzam Exp $
+
+ 03 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-streamdev-uint64.diff,
+ vdr-streamdev-client-0.3.3_pre20051219.ebuild:
+ Added patch to compile also with vdr-1.4.4_p1
15 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
Assigned to Gentoo VDR Project.
diff --git a/media-plugins/vdr-streamdev-client/files/vdr-streamdev-uint64.diff b/media-plugins/vdr-streamdev-client/files/vdr-streamdev-uint64.diff
new file mode 100644
index 000000000000..5198a38d9a9d
--- /dev/null
+++ b/media-plugins/vdr-streamdev-client/files/vdr-streamdev-uint64.diff
@@ -0,0 +1,12 @@
+diff -ru streamdev-20051219-orig/client/socket.c streamdev-20051219/client/socket.c
+--- streamdev-20051219-orig/client/socket.c 2006-12-03 16:38:44.044459126 +0100
++++ streamdev-20051219/client/socket.c 2006-12-03 16:38:58.315865440 +0100
+@@ -54,7 +54,7 @@
+ return false;
+ }
+
+- uint64 elapsed = starttime.Elapsed();
++ uint64_t elapsed = starttime.Elapsed();
+ if (Expected != 0) { // XXX+ What if elapsed > TimeoutMs?
+ TimeoutMs -= elapsed;
+ return Expect(Expected, NULL, TimeoutMs);
diff --git a/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild b/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild
index d94b74d86618..dc103775c75c 100644
--- a/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild
+++ b/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.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-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild,v 1.2 2006/03/20 16:07:56 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20051219.ebuild,v 1.3 2006/12/03 15:41:24 zzam Exp $
inherit vdr-plugin eutils
@@ -22,6 +22,8 @@ S=${WORKDIR}/${MY_P}
VDRPLUGIN_MAKE_TARGET="libvdr-${VDRPLUGIN}.so"
+PATCHES="${FILESDIR}/vdr-streamdev-uint64.diff"
+
src_unpack() {
vdr-plugin_src_unpack
cd ${S}