void-packages/srcpkgs/xf86-input-mtrack/patches/fix-time64.patch

13 lines
361 B
Diff

--- a/src/hwstate.c 2018-01-28 20:46:17.000000000 +0100
+++ b/src/hwstate.c 2020-12-02 22:58:45.149335108 +0100
@@ -41,7 +41,8 @@
if (!caps->has_abs[MTDEV_WIDTH_MINOR])
s->data[i].width_minor = s->data[i].width_major;
}
- timercp(&s->evtime, &syn->time);
+ s->evtime.tv_sec = syn->input_event_sec;
+ s->evtime.tv_usec = syn->input_event_usec;
}
/*