qemu: rebuild against nettle-3.6

This commit is contained in:
Piraty 2020-05-06 19:27:11 +02:00 committed by Piraty
parent abd822b1c0
commit 1b089cdac8

View file

@ -1,7 +1,7 @@
# Template file for 'qemu'
pkgname=qemu
version=5.0.0
revision=1
revision=2
short_desc="Open Source Processor Emulator"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
@ -37,15 +37,13 @@ case "$XBPS_TARGET_MACHINE" in
aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";;
esac
post_extract() {
sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h
pre_configure() {
vsed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h
}
do_configure() {
local args=
sed -e 's,-rpath /usr/local/lib,,g' -i configure
if [ "$CROSS_BUILD" ]; then
args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-"
export LIBTOOL=libtool