qemu: update to 2.7.0.

This commit is contained in:
Juan RP 2016-09-03 16:45:57 +02:00
parent f3e6be31b4
commit 5543ae5308
2 changed files with 3 additions and 13 deletions

View file

@ -1,11 +0,0 @@
--- util/cutils.c.orig 2016-05-12 17:19:06.890739262 +0200
+++ util/cutils.c 2016-05-12 17:19:21.481711477 +0200
@@ -262,7 +262,7 @@ static size_t buffer_find_nonzero_offset
* restrict the gcc version to 4.9+ to prevent the failure.
*/
-#if defined CONFIG_AVX2_OPT && QEMU_GNUC_PREREQ(4, 9)
+#if defined(__GLIBC__) && defined CONFIG_AVX2_OPT && QEMU_GNUC_PREREQ(4, 9)
#pragma GCC push_options
#pragma GCC target("avx2")
#include <cpuid.h>

View file

@ -1,13 +1,13 @@
# Template file for 'qemu'
pkgname=qemu
version=2.6.1
version=2.7.0
revision=1
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://qemu.org"
license="GPL-2, LGPL-2.1"
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2"
checksum=4942fd1b6ee31f2f55ffc2201dd7397e6b9c55a2ef332e6d660c730d268e08d1
checksum=326e739506ba690daf69fc17bd3913a6c313d9928d743bd8eddb82f403f81e53
nostrip=yes
hostmakedepends="pkg-config perl python automake libtool flex"
@ -42,6 +42,7 @@ do_configure() {
args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-"
export LIBTOOL=libtool
fi
unset CPP
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
--enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen --enable-tpm \