evtest: fix build w/ musl-1.2.1 (time64)
This commit is contained in:
parent
e142f35cd2
commit
4206a9b0d4
1 changed files with 11 additions and 0 deletions
11
srcpkgs/evtest/patches/time64.patch
Normal file
11
srcpkgs/evtest/patches/time64.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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)
|
Loading…
Reference in a new issue