summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-12-03 15:01:31 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-12-03 15:01:31 +0000
commite867728048a61e21acd215ff407d64549ed4f786 (patch)
treec91a485a7c5cbd637ebbfd859bcbf059ac6e0b14 /media-plugins/vdr-powermate
parentVersion bump, bug 156974 (diff)
downloadgentoo-2-e867728048a61e21acd215ff407d64549ed4f786.tar.gz
gentoo-2-e867728048a61e21acd215ff407d64549ed4f786.tar.bz2
gentoo-2-e867728048a61e21acd215ff407d64549ed4f786.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-powermate')
-rw-r--r--media-plugins/vdr-powermate/ChangeLog6
-rw-r--r--media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-uint64.diff26
-rw-r--r--media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild5
3 files changed, 34 insertions, 3 deletions
diff --git a/media-plugins/vdr-powermate/ChangeLog b/media-plugins/vdr-powermate/ChangeLog
index 4583f6b271c5..824e63cdb75b 100644
--- a/media-plugins/vdr-powermate/ChangeLog
+++ b/media-plugins/vdr-powermate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-powermate
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/ChangeLog,v 1.5 2006/08/15 10:26:36 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/ChangeLog,v 1.6 2006/12/03 15:01:31 zzam Exp $
+
+ 03 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-powermate-0.0.3-uint64.diff, vdr-powermate-0.0.3.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-powermate/files/vdr-powermate-0.0.3-uint64.diff b/media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-uint64.diff
new file mode 100644
index 000000000000..28f23f3ec0a2
--- /dev/null
+++ b/media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-uint64.diff
@@ -0,0 +1,26 @@
+diff -ru powermate-0.0.3-orig/powermate.c powermate-0.0.3/powermate.c
+--- powermate-0.0.3-orig/powermate.c 2006-12-03 15:58:54.854003243 +0100
++++ powermate-0.0.3/powermate.c 2006-12-03 15:59:51.239469576 +0100
+@@ -134,8 +134,8 @@
+ }
+ if (click && !pushed)
+ {
+- uint64 current = TimeMs();
+- if (current - lastPush > (uint64) PowerMateSetup.doubleClickTime)
++ uint64_t current = TimeMs();
++ if (current - lastPush > (uint64_t) PowerMateSetup.doubleClickTime)
+ {
+ //printf("CLICK\n");
+ ProcessEvent(kEventClick);
+diff -ru powermate-0.0.3-orig/powermate.h powermate-0.0.3/powermate.h
+--- powermate-0.0.3-orig/powermate.h 2006-12-03 15:58:54.854003243 +0100
++++ powermate-0.0.3/powermate.h 2006-12-03 15:59:41.325102033 +0100
+@@ -26,7 +26,7 @@
+ bool menu;
+
+ bool pushed;
+- uint64 lastPush;
++ uint64_t lastPush;
+ int offset;
+ bool click;
+ bool turn;
diff --git a/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild b/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
index 60cec9b738d3..dbc0338d751d 100644
--- a/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
+++ b/media-plugins/vdr-powermate/vdr-powermate-0.0.3.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-powermate/vdr-powermate-0.0.3.ebuild,v 1.3 2006/02/05 19:49:02 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild,v 1.4 2006/12/03 15:01:31 zzam Exp $
inherit vdr-plugin
@@ -16,4 +16,5 @@ IUSE=""
RDEPEND="media-video/vdr"
DEPEND="${RDEPEND}"
-PATCHES="${FILESDIR}/${P}-1.3.38.diff"
+PATCHES="${FILESDIR}/${P}-1.3.38.diff
+ ${FILESDIR}/${P}-uint64.diff"