libmanette: fix build w/ musl-1.2.1 (time64)
This commit is contained in:
parent
97e4a9da8e
commit
d00a96d444
1 changed files with 13 additions and 0 deletions
13
srcpkgs/libmanette/patches/time64.patch
Normal file
13
srcpkgs/libmanette/patches/time64.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/manette-device.c 2019-03-11 10:04:16.000000000 +0100
|
||||
+++ src/manette-device.c 2020-12-11 16:39:51.368792737 +0100
|
||||
@@ -415,8 +415,8 @@
|
||||
ManetteEvent manette_event;
|
||||
|
||||
manette_event.any.device = self;
|
||||
- manette_event.any.time = evdev_event->time.tv_sec * 1000 +
|
||||
- evdev_event->time.tv_usec / 1000;
|
||||
+ manette_event.any.time = evdev_event->input_event_sec * 1000 +
|
||||
+ evdev_event->input_event_usec / 1000;
|
||||
manette_event.any.hardware_type = evdev_event->type;
|
||||
manette_event.any.hardware_code = evdev_event->code;
|
||||
manette_event.any.hardware_value = evdev_event->value;
|
Loading…
Reference in a new issue