From 4206a9b0d46677cc5a36d8fb26518f9469bcb2f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 11 Dec 2020 15:36:52 +0100 Subject: [PATCH] evtest: fix build w/ musl-1.2.1 (time64) --- srcpkgs/evtest/patches/time64.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/evtest/patches/time64.patch diff --git a/srcpkgs/evtest/patches/time64.patch b/srcpkgs/evtest/patches/time64.patch new file mode 100644 index 0000000000..f1a18fd3ad --- /dev/null +++ b/srcpkgs/evtest/patches/time64.patch @@ -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)