aboutsummaryrefslogtreecommitdiffstats
path: root/community/mce/0008-fix-32bit-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mce/0008-fix-32bit-build.patch')
-rw-r--r--community/mce/0008-fix-32bit-build.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/mce/0008-fix-32bit-build.patch b/community/mce/0008-fix-32bit-build.patch
new file mode 100644
index 00000000000..5ae8b7c725b
--- /dev/null
+++ b/community/mce/0008-fix-32bit-build.patch
@@ -0,0 +1,14 @@
+diff --git a/multitouch.c b/multitouch.c
+index 95dfe22..94f41fe 100644
+--- a/multitouch.c
++++ b/multitouch.c
+@@ -428,7 +428,8 @@ mt_state_handle_event_b(mt_state_t *self, const struct input_event *ev)
+ void
+ mt_state_handle_event(mt_state_t *self, const struct input_event *ev)
+ {
+- self->mts_event_time = ev->time;
++ self->mts_event_time.tv_sec = ev->input_event_sec;
++ self->mts_event_time.tv_usec = ev->input_event_usec;
+
+ self->mts_event_handler_cb(self, ev);
+