summaryrefslogtreecommitdiffstats
path: root/system/qemu-kvm/qemu-kvm.SlackBuild
diff options
context:
space:
mode:
author Stu Miller <slackbuilds@go4it2day.com>2011-05-10 22:23:47 -0500
committer Robby Workman <rworkman@slackbuilds.org>2011-05-10 22:23:47 -0500
commit65282ac79cd679e5b7321a0954640f873226e996 (patch)
tree43e71240f8de38576c228344cbdc86aa63e8f38d /system/qemu-kvm/qemu-kvm.SlackBuild
parent49c0d6564bd00f6d99c462af1934728cf03807e1 (diff)
downloadslackbuilds-65282ac79cd679e5b7321a0954640f873226e996.tar.gz
slackbuilds-65282ac79cd679e5b7321a0954640f873226e996.tar.xz
system/qemu-kvm: Updated for version 0.14.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qemu-kvm/qemu-kvm.SlackBuild')
-rw-r--r--system/qemu-kvm/qemu-kvm.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/qemu-kvm/qemu-kvm.SlackBuild b/system/qemu-kvm/qemu-kvm.SlackBuild
index c67b6c6eaa..1c2768a1de 100644
--- a/system/qemu-kvm/qemu-kvm.SlackBuild
+++ b/system/qemu-kvm/qemu-kvm.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qemu-kvm
-VERSION=${VERSION:-0.13.0}
+VERSION=${VERSION:-0.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,12 +88,18 @@ find . \
# group to be used (no real need to require a kvm group)
patch -p1 < $CWD/fixup_udev_rules.patch
+# Replace obsolete qemu-kvm.h with kvm.h in pci.c and build that module
+# just like upstream does. This fixes non-x86 targets which have no PCI
+# support. http://www.mail-archive.com/kvm@vger.kernel.org/msg50038.html
+patch -p1 < $CWD/fixup-undefined-pci-references.patch
+
# This translates the possible targets into the correct format for configure
TARGETS="$(for i in $BUILD_ARCH ; do printf "$i-softmmu " ; done)"
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --sysconfdir=/etc \
--enable-mixemu \
--audio-drv-list=oss,alsa,sdl,esd \
--enable-system \