[Buildroot] [PATCH 2/2] package/libseccomp: fix musl build

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 1 13:16:31 UTC 2016


Dear Bernd Kuhls,

On Sat, 30 Jan 2016 19:01:59 +0100, Bernd Kuhls wrote:

> diff --git a/package/libseccomp/0002-musl.patch b/package/libseccomp/0002-musl.patch
> new file mode 100644
> index 0000000..c3affba
> --- /dev/null
> +++ b/package/libseccomp/0002-musl.patch
> @@ -0,0 +1,33 @@
> +Fix musl build
> +
> +Downloaded from upstream PR:
> +https://github.com/seccomp/libseccomp/pull/23
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>

This should go ...

> +
> +
> +From eb5382287cd25235e760b5da4939510b11bbf2a1 Mon Sep 17 00:00:00 2001
> +From: Kylie McClain <somasis at exherbo.org>
> +Date: Fri, 1 Jan 2016 13:12:59 -0500
> +Subject: [PATCH] system.h: Remove conflicting kernel header include
> +
> +This fixes building on musl libc, since musl does not include kernel
> +headers. I've tested this as working on both glibc and musl.
> +
> +Signed-off-by: Kylie McClain <somasis at exherbo.org>

... here

I've fixed this and applied your patch.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list