qemu: fix musl build

This commit is contained in:
Enno Boland 2017-04-26 09:00:43 +02:00
parent 50293d4976
commit cc86c33aaf
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- linux-user/syscall.c.orig 2017-04-25 23:46:47.896819860 +0200
+++ linux-user/syscall.c 2017-04-26 08:43:48.821452132 +0200
@@ -34,6 +34,7 @@
#include <sys/resource.h>
#include <sys/swap.h>
#include <linux/capability.h>
+#include <linux/sockios.h>
#include <sched.h>
#include <sys/timex.h>
#ifdef __ia64__

View file

@ -33,7 +33,6 @@ desc_option_smartcard="Enable smartcard support"
vopt_conflict "sdl" "sdl2"
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/2239/steps/shell_3/logs/stdio";;
i686*|x86_64*) build_options_default+=" spice";;
aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";;
esac