kvmtool: add patch to fix build with musl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Aug 2017 20:55:26 +0000 (22:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 21 Aug 2017 21:24:59 +0000 (23:24 +0200)
commit4688b3a7e20578a761b7e54a392814323c8e4200
tree3b59d76b6506cf38b33f88ae57c3dc4126fc309f
parent7fc336b28a82fad15b4d87bd703e78fa665ceaab
kvmtool: add patch to fix build with musl

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@free-electrons.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvmtool/0001-avoid-redefining-PAGE_SIZE.patch [new file with mode: 0644]