[Buildroot] [PATCH v1] package/libv4l: fix input_event related compile failure

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat May 9 21:16:41 UTC 2020


On Mon,  4 May 2020 23:51:07 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> Add two upstream patches fixing input_event time related
> compile failures.
> 
> Fixes:
> 
>  - http://autobuild.buildroot.net/results/3883a948e30cfd235cfca1fb8646fe8032f5e18d
> 
>   keytable.c: In function 'test_event':
>   keytable.c:1536:11: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
>        ev[i].time.tv_sec, ev[i].time.tv_usec,
>              ^~~~
>              type
>   keytable.c:1536:30: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
>        ev[i].time.tv_sec, ev[i].time.tv_usec,
>                                 ^~~~
>                                 type
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
>  ...02-keytable-use-input_event-properly.patch | 36 +++++++++++++++++++
>  ...dd-compatibility-for-input_event_sec.patch | 35 ++++++++++++++++++
>  2 files changed, 71 insertions(+)
>  create mode 100644 package/libv4l/0002-keytable-use-input_event-properly.patch
>  create mode 100644 package/libv4l/0003-keytable-add-compatibility-for-input_event_sec.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list