qemu: fix musl build
This commit is contained in:
parent
50293d4976
commit
cc86c33aaf
2 changed files with 10 additions and 1 deletions
10
srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch
Normal file
10
srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch
Normal 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__
|
|
@ -33,7 +33,6 @@ desc_option_smartcard="Enable smartcard support"
|
||||||
vopt_conflict "sdl" "sdl2"
|
vopt_conflict "sdl" "sdl2"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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";;
|
i686*|x86_64*) build_options_default+=" spice";;
|
||||||
aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";;
|
aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue