From 91ea647a3a5543a9f117a1a21786fe58896a965d Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 21 Sep 2016 15:07:29 +0200 Subject: [PATCH] qemu: hacks for aarch64-musl. --- srcpkgs/qemu/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index c21ec849ec..9f08be3471 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -31,8 +31,13 @@ vopt_conflict "sdl" "sdl2" case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) build_options_default+=" spice";; + aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";; esac +post_extract() { + sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h +} + do_configure() { local args=