Added patch to compile also with vdr-1.4.4_p1
authorMatthias Schwarzott <zzam@gentoo.org>
Sun, 3 Dec 2006 15:05:06 +0000 (15:05 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Sun, 3 Dec 2006 15:05:06 +0000 (15:05 +0000)
Package-Manager: portage-2.1.2_rc2-r4

media-plugins/vdr-powermate/ChangeLog
media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-uint64.diff [new file with mode: 0644]
media-plugins/vdr-powermate/vdr-powermate-0.0.3.ebuild
media-plugins/vdr-videosystem/ChangeLog
media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff [new file with mode: 0644]
media-plugins/vdr-videosystem/vdr-videosystem-0.0.1.ebuild

index 4583f6b271c515fdf0ea3698c26acd8530f4c9a9..824e63cdb75bd3e575fa73c0da3cdc19de705959 100644 (file)
@@ -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 (file)
index 0000000..28f23f3
--- /dev/null
@@ -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;
index 60cec9b738d31633744e330940b982752f3c460b..dbc0338d751d19e933700072c52a308b870179d5 100644 (file)
@@ -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"
index 594a9f4fbf9fb3ed8bfb2b8855c8b4ed32e18a81..fd17755c295b43067dfceef7ff07f6a504b7bad6 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-plugins/vdr-videosystem
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-videosystem/ChangeLog,v 1.3 2006/08/15 10:04:41 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-videosystem/ChangeLog,v 1.4 2006/12/03 15:05:06 zzam Exp $
+
+  03 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+  +files/vdr-videosystem-0.0.1-uint64.diff, vdr-videosystem-0.0.1.ebuild:
+  Added patch to compile also with vdr-1.4.4_p1
 
   15 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
   Now really assign to Gentoo VDR Project.
diff --git a/media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff b/media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff
new file mode 100644 (file)
index 0000000..81ec877
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ru videosystem-0.0.1-orig/videosystem.c videosystem-0.0.1/videosystem.c
+--- videosystem-0.0.1-orig/videosystem.c       2006-12-03 16:03:23.386105568 +0100
++++ videosystem-0.0.1/videosystem.c    2006-12-03 16:03:31.716095700 +0100
+@@ -45,7 +45,7 @@
+       eVideoSystem GetVideoSystem(void);
+       
+       bool doexit;
+-      uint64 time;
++      uint64_t time;
+       eVideoSystem curVidSys;
+       bool initialized;
+       tOsdSettings pal;
index 83a5fd6d7ab5517c9e714b79a29059cb3eed63da..d8920eba3092c2f2ec4b0de4981ca90cd9acd11d 100644 (file)
@@ -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-videosystem/vdr-videosystem-0.0.1.ebuild,v 1.1 2006/05/15 08:26:33 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-videosystem/vdr-videosystem-0.0.1.ebuild,v 1.2 2006/12/03 15:05:06 zzam Exp $
 
 inherit vdr-plugin
 
@@ -15,3 +15,5 @@ IUSE=""
 
 DEPEND=">=media-video/vdr-1.3.18"
 
+PATCHES="${FILESDIR}/${P}-uint64.diff"
+