# - qemu-system-ppc -hda ac-ppc.img says:
# qemu: could not open disk image ac-ppc.img: Success
# qemu-0.12.2-2.x86_64.rpm - broken
+# qemu-0.12.3-3.x86_64/qemu-0.12.4-1.x86_64 - stops on "returning from prom_init"
# qemu-0.11.1-7k.x86_64.rpm - OK
#
# Conditional build:
Summary: QEMU CPU Emulator
Summary(pl.UTF-8): QEMU - emulator procesora
Name: qemu
-Version: 0.12.3
+Version: 0.14.1
Release: 1
License: GPL
Group: Applications/Emulators
# Source0Download: http://fabrice.bellard.free.fr/qemu/download.html
Source0: http://download.savannah.gnu.org/releases/qemu/%{name}-%{version}.tar.gz
-# Source0-md5: d215e4568650e8019816397174c090e1
+# Source0-md5: b6c713a8db638e173af53a62d5178640
Patch0: %{name}-ncurses.patch
Patch6: %{name}-nosdlgui.patch
# Proof of concept, for reference, do not remove
Patch8: %{name}-kde_virtual_workspaces_hack.patch
-#Patch12: %{name}-0.7.2-dyngen-check-stack-clobbers.patch
+#Patch12: %{name}-0.7.2-dyngen-check-stack-clobbers.patch
Patch13: %{name}-dosguest.patch
Patch14: %{name}-ppc_old_binutils.patch
Patch15: %{name}-isa-bios-ram.patch
# below one fixes problems with passing ram size to bios/bootloader
# which affects coreboot/linuxbios
Patch16: %{name}-piix-ram-size.patch
-Patch17: %{name}-whitelist.patch
-URL: http://www.nongnu.org/qemu/
+Patch17: %{name}-whitelist.patch
+URL: http://wiki.qemu.org/Index.html
BuildRequires: SDL-devel >= 1.2.1
BuildRequires: alsa-lib-devel
BuildRequires: bluez-libs-devel
# cannot use optflags on x86 - they cause "no register to spill" errors
%if %{with cflags_passing}
-%{__sed} -i -e 's/-Wall -O2 -g/-Wall %{rpmcflags}/' Makefile Makefile.target
+%{__sed} -i -e 's/-g $CFLAGS/-Wall %{rpmcflags}/' configure
%else
-%{__sed} -i 's/-Wall -O2 -g/-Wall -O2/' Makefile Makefile.target
+%{__sed} -i 's/-g $CFLAGS/-Wall -fno-var-tracking-assignments/' configure
%endif
%build
--prefix=%{_prefix} \
--cc="%{__cc}" \
--host-cc="%{__cc}" \
- --make="%{__make}" \
--enable-mixemu \
--audio-drv-list="alsa" \
--interp-prefix=%{_libdir}/%{name}