From ba1746053ecb381253ede85f268fbee1c44ecc5b Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 8 Sep 2015 12:42:50 +0100 Subject: [PATCH] Fix typo causing qemu-img to link against entire world (bz #1260996) --- 0007-fix-quorum-libs.patch | 12 ++++++++++++ qemu.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 0007-fix-quorum-libs.patch diff --git a/0007-fix-quorum-libs.patch b/0007-fix-quorum-libs.patch new file mode 100644 index 0000000..499a4e8 --- /dev/null +++ b/0007-fix-quorum-libs.patch @@ -0,0 +1,12 @@ +diff -rup qemu-2.3.1/configure qemu-2.3.1.new/configure +--- qemu-2.3.1/configure 2015-08-11 20:19:07.000000000 +0100 ++++ qemu-2.3.1.new/configure 2015-09-08 12:40:44.694091584 +0100 +@@ -2323,7 +2323,7 @@ quorum_tls_libs=`$pkg_config --libs gnut + if compile_prog "$quorum_tls_cflags" "$quorum_tls_libs" ; then + qcow_tls=yes + libs_softmmu="$quorum_tls_libs $libs_softmmu" +- libs_tools="$quorum_tls_libs $libs_softmmu" ++ libs_tools="$quorum_tls_libs $libs_tools" + QEMU_CFLAGS="$QEMU_CFLAGS $quorum_tls_cflags" + quorum="yes" + else diff --git a/qemu.spec b/qemu.spec index d7e6c24..95fc3a9 100644 --- a/qemu.spec +++ b/qemu.spec @@ -43,7 +43,7 @@ Summary: QEMU is a FAST! processor emulator Name: qemu Version: 2.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 License: GPLv2+ and LGPLv2+ and BSD Group: Development/Tools @@ -87,6 +87,8 @@ Patch0005: 0005-virtio-serial-fix-ANY_LAYOUT.patch # CVE-2015-5255: heap memory corruption in vnc_refresh_server_surface # (bz #1255899) Patch0006: 0006-vnc-fix-memory-corruption-CVE-2015-5225.patch +# Fix typo causing qemu-img to link against entire world (rhbz #1260996) +Patch0007: 0007-fix-quorum-libs.patch BuildRequires: SDL2-devel BuildRequires: zlib-devel @@ -1189,6 +1191,9 @@ getent passwd qemu >/dev/null || \ %changelog +* Tue Sep 8 2015 Daniel P. Berrange - 2:2.3.1-3 +- Fix typo causing qemu-img to link against entire world (bz #1260996) + * Mon Aug 31 2015 Cole Robinson - 2:2.3.1-2 - CVE-2015-5255: heap memory corruption in vnc_refresh_server_surface (bz #1255899)