commit:     75f31320689f76b7c55f5c854d3015de2737bf92
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  9 18:59:51 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Apr  9 18:59:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f31320

app-emulation/qemu: add a comment that backend ordering matters

Bug: https://bugs.gentoo.org/716202
Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-emulation/qemu/qemu-4.2.0-r3.ebuild | 2 ++
 app-emulation/qemu/qemu-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/app-emulation/qemu/qemu-4.2.0-r3.ebuild 
b/app-emulation/qemu/qemu-4.2.0-r3.ebuild
index 288a676b581..83a1b141b2a 100644
--- a/app-emulation/qemu/qemu-4.2.0-r3.ebuild
+++ b/app-emulation/qemu/qemu-4.2.0-r3.ebuild
@@ -497,6 +497,8 @@ qemu_src_configure() {
        if [[ ! ${buildtype} == "user" ]] ; then
                # audio options
                local audio_opts=(
+                       # Note: backend order matters here: #716202
+                       # We iterate from higher-level to lower level.
                        $(usex pulseaudio pa "")
                        $(usev sdl)
                        $(usev alsa)

diff --git a/app-emulation/qemu/qemu-9999.ebuild 
b/app-emulation/qemu/qemu-9999.ebuild
index 9020f7fa598..dac2f00c38e 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -491,6 +491,8 @@ qemu_src_configure() {
        if [[ ! ${buildtype} == "user" ]] ; then
                # audio options
                local audio_opts=(
+                       # Note: backend order matters here: #716202
+                       # We iterate from higher-level to lower level.
                        $(usex pulseaudio pa "")
                        $(usev sdl)
                        $(usev alsa)

Reply via email to