[Buildroot] [PATCH 1/3] kvmtool: add patch to fix build with musl

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Aug 21 21:25:52 UTC 2017


Hello,

On Sat, 19 Aug 2017 22:55:26 +0200, Thomas Petazzoni wrote:
> This commit backports an upstream patch that fixes the build of
> kvmtool with musl:
> 
> In file included from builtin-balloon.c:9:0:
> include/kvm/kvm.h:22:0: warning: "PAGE_SIZE" redefined
>  #define PAGE_SIZE (sysconf(_SC_PAGE_SIZE))
> 
> Fixes one part of:
> 
>   http://autobuild.buildroot.net/results/4459a909e735343d1cf768d30466bc3c57eca19e/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  .../kvmtool/0001-avoid-redefining-PAGE_SIZE.patch  | 42 ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 package/kvmtool/0001-avoid-redefining-PAGE_SIZE.patch

All applied. Thanks Bernd for having tested the patches!

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


More information about the buildroot mailing list