[packages/linuxtv-dvb-apps] - fix incorrect time reference in struct input_event
baggins
baggins at pld-linux.org
Mon Aug 10 03:11:29 CEST 2026
commit 5541972b16cfe17d816988c9c0af02b2b840e904
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Aug 10 03:11:01 2026 +0200
- fix incorrect time reference in struct input_event
input_event-time.patch | 11 +++++++++++
linuxtv-dvb-apps.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/linuxtv-dvb-apps.spec b/linuxtv-dvb-apps.spec
index 44645b9..a3847eb 100644
--- a/linuxtv-dvb-apps.spec
+++ b/linuxtv-dvb-apps.spec
@@ -13,6 +13,7 @@ Patch1: no-CA_SET_PID.patch
Patch2: glibc-2.31.patch
Patch3: perl-5.26.patch
Patch4: gcc15.patch
+Patch5: input_event-time.patch
URL: http://linuxtv.org/
BuildRequires: libpng-devel
BuildRequires: libusb-compat-devel
@@ -78,6 +79,7 @@ Statyczne biblioteki DVB z projektu linuxtv.
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
+%patch -P5 -p1
# prepare %doc
%{__mv} lib/libesg/TODO TODO.libesg
diff --git a/input_event-time.patch b/input_event-time.patch
new file mode 100644
index 0000000..0944196
--- /dev/null
+++ b/input_event-time.patch
@@ -0,0 +1,11 @@
+--- dvb-apps-69fc03702a64/test/evtest.c~ 2012-01-24 13:29:08.000000000 +0100
++++ dvb-apps-69fc03702a64/test/evtest.c 2026-08-10 03:09:29.205182770 +0200
+@@ -241,7 +241,7 @@
+
+ for (i = 0; i < rd / (int) sizeof(struct input_event); i++)
+ printf("Event: time %ld.%06ld, type %d (%s), code %d (%s), value %d\n",
+- ev[i].time.tv_sec, ev[i].time.tv_usec, ev[i].type,
++ ev[i].input_event_sec, ev[i].input_event_usec, ev[i].type,
+ events[ev[i].type] ? events[ev[i].type] : "?",
+ ev[i].code,
+ names[ev[i].type] ? (names[ev[i].type][ev[i].code] ? names[ev[i].type][ev[i].code] : "?") : "?",
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/linuxtv-dvb-apps.git/commitdiff/5541972b16cfe17d816988c9c0af02b2b840e904
More information about the pld-cvs-commit
mailing list