[Buildroot] [PATCH 1/1] eudev: fix build with kernel < 4.8

Matthew Weber matthew.weber at rockwellcollins.com
Wed Dec 5 17:32:07 UTC 2018


Fabrice,

On Wed, Dec 5, 2018 at 1:25 AM Fabrice Fontaine
<fontaine.fabrice at gmail.com> wrote:
>
> KEY_ALS_TOGGLE has been added in kernel 4.8 with
> https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
>
> So add it to missing.h to fix build with kernel older than 4.8
>
> Fixes:
>  - http://autobuild.buildroot.org/results/0c0aff02df91cdb869efa01e397f7ccc0d9f69af
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  .../eudev/0002-missing.h-add-KEY_ALS_TOGGLE.patch  | 34 ++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 package/eudev/0002-missing.h-add-KEY_ALS_TOGGLE.patch
>
> diff --git a/package/eudev/0002-missing.h-add-KEY_ALS_TOGGLE.patch b/package/eudev/0002-missing.h-add-KEY_ALS_TOGGLE.patch
> new file mode 100644
> index 0000000000..93d3f6d696
> --- /dev/null
> +++ b/package/eudev/0002-missing.h-add-KEY_ALS_TOGGLE.patch
> @@ -0,0 +1,34 @@
> +From cad87bd3d8aa9046af0872e8c22f4a3c8fafdc78 Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> +Date: Tue, 4 Dec 2018 22:38:37 +0100
> +Subject: [PATCH] missing.h: add KEY_ALS_TOGGLE
> +
> +KEY_ALS_TOGGLE has been added in kernel 4.8 with
> +https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c
> +
> +So add it to missing.h to fix build with kernel older than 4.8
> +

Maybe good to add a link to your pull request in this patch's
description (nice when they merge fast :-) )
https://github.com/gentoo/eudev/pull/162

Reviewed-by: Matthew Weber <matthew.weber at rockwellcollins.con>

Matt


More information about the buildroot mailing list