qv4l2: fix build w/ musl-1.2.1 (time64)
This commit is contained in:
parent
c227c35186
commit
905358ffa3
1 changed files with 11 additions and 0 deletions
11
srcpkgs/qv4l2/patches/time64.patch
Normal file
11
srcpkgs/qv4l2/patches/time64.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- utils/keytable/keytable.c 2019-09-22 11:22:54.000000000 +0200
|
||||
+++ utils/keytable/keytable.c 2021-01-15 14:48:30.569549169 +0100
|
||||
@@ -1533,7 +1533,7 @@
|
||||
|
||||
for (i = 0; i < rd / sizeof(struct input_event); i++) {
|
||||
printf(_("%ld.%06ld: event type %s(0x%02x)"),
|
||||
- ev[i].time.tv_sec, ev[i].time.tv_usec,
|
||||
+ ev[i].input_event_sec, ev[i].input_event_usec,
|
||||
get_event_name(events_type, ev[i].type), ev[i].type);
|
||||
|
||||
switch (ev[i].type) {
|
Loading…
Reference in a new issue