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/files
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/files')
-rw-r--r--media-plugins/vdr-powermate/files/vdr-powermate-0.0.3-uint64.diff26
1 files changed, 26 insertions, 0 deletions
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;