void-packages/srcpkgs/evtest/patches/time64.patch
2020-12-11 15:36:52 +01:00

11 lines
392 B
Diff

--- evtest.c 2019-08-02 20:14:30.000000000 +0200
+++ evtest.c 2020-12-11 15:33:15.895384954 +0100
@@ -1139,7 +1139,7 @@
type = ev[i].type;
code = ev[i].code;
- printf("Event: time %ld.%06ld, ", ev[i].time.tv_sec, ev[i].time.tv_usec);
+ printf("Event: time %ld.%06ld, ", ev[i].input_event_sec, ev[i].input_event_usec);
if (type == EV_SYN) {
if (code == SYN_MT_REPORT)