--- /dev/null
+--- qemu-2.1+dfsg.orig/configure
++++ qemu-2.1+dfsg/configure
+@@ -5080,7 +5080,9 @@ case "$target_name" in
+ \( "$target_name" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
+ \( "$target_name" = "mipsel" -a "$cpu" = "mips" \) -o \
+ \( "$target_name" = "x86_64" -a "$cpu" = "i386" \) -o \
+- \( "$target_name" = "i386" -a "$cpu" = "x86_64" \) \) ; then
++ \( "$target_name" = "i386" -a "$cpu" = "x86_64" \) -o \
++ \( "$target_name" = "x86_64" -a "$cpu" = "x32" \) -o \
++ \( "$target_name" = "i386" -a "$cpu" = "x32" \) \) ; then
+ echo "CONFIG_KVM=y" >> $config_target_mak
+ if test "$vhost_net" = "yes" ; then
+ echo "CONFIG_VHOST_NET=y" >> $config_target_mak
%undefine with_gtk3
%endif
+%ifarch x32
+%undefine with_xen
+%endif
+
Summary: QEMU CPU Emulator
Summary(pl.UTF-8): QEMU - emulator procesora
Name: qemu
Patch3: %{name}-system-libcacard.patch
Patch4: %{name}-xattr.patch
Patch5: libjpeg-boolean.patch
+Patch6: kvm-on-x32.patch
# Proof of concept, for reference, do not remove
Patch400: %{name}-kde_virtual_workspaces_hack.patch
URL: http://www.qemu-project.org/
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%{__mv} libcacard libcacard-use-system-lib