commit:     2f79bc944a2dedb1e8ca2b56c53ca9c2a5354aa8
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 27 10:11:04 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Jul 27 11:44:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f79bc94

media-sound/pulseaudio: fix padsp OSS wrapper for non-native multilib

Pass the new (in v11) configure argument with glibc per upstream release notes.

Closes: https://bugs.gentoo.org/486328
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-sound/pulseaudio/pulseaudio-12.2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-sound/pulseaudio/pulseaudio-12.2.ebuild 
b/media-sound/pulseaudio/pulseaudio-12.2.ebuild
index c084555f2e3..1b9b8b2d18e 100644
--- a/media-sound/pulseaudio/pulseaudio-12.2.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-12.2.ebuild
@@ -213,6 +213,11 @@ multilib_src_configure() {
                        LIBSPEEX_CFLAGS=' '
                        LIBSPEEX_LIBS=' '
                )
+       else
+               # Make padsp work for non-native ABI, supposedly only possible 
with glibc; this is used by /usr/bin/padsp that comes from native build, thus 
we need this argument for native build
+               if use elibc_glibc ; then
+                       myconf+=( 
--with-pulsedsp-location="${EPREFIX}"'/usr/\\$$LIB/pulseaudio' )
+               fi
        fi
 
        ECONF_SOURCE=${S} \

Reply via email to