[Buildroot] [PATCH 1/1] package/libsepol: Remove use of cdefs.h
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jul 8 16:36:06 UTC 2016
Hello,
On Fri, 8 Jul 2016 11:03:34 -0400, Adam Duskett wrote:
> Libsepol uses cdefs.h which is a internal glibc header.
> This header is not intended to be used by any program and will cause
> compiling against musl (and possibly other c libraries) to fail.
> This patch fixed this issue and replaces all references of
> #include <sys/cdefs.h> and __BEGIN/END_DECLS with the appropriate #ifdefs.
Please include a reference to the autobuilder issue being fixed. Like:
Fixes:
http://autobuild.buildroot.org/results/..../
>
> Signed-off-by: Adam Duskett <Aduskett at gmail.com>
> ---
> package/libsepol/0005-replace-cdefs.patch | 1059 +++++++++++++++++++++++++++++
> 1 file changed, 1059 insertions(+)
> create mode 100644 package/libsepol/0005-replace-cdefs.patch
>
> diff --git a/package/libsepol/0005-replace-cdefs.patch b/package/libsepol/0005-replace-cdefs.patch
> new file mode 100644
> index 0000000..e9da24f
We need a description + Signed-off-by inside the patch itself. See
other patches in Buildroot, and the Buildroot manual for details.
Please indicate in the patch description that it has been submitted
upstream.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list