diff options
Diffstat (limited to 'system/qemu-kvm/qemu-kvm.SlackBuild')
-rw-r--r-- | system/qemu-kvm/qemu-kvm.SlackBuild | 8 |
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 \ |