media-sound/pulseaudio: fix padsp OSS wrapper for non-native multilib
authorMart Raudsepp <leio@gentoo.org>
Fri, 27 Jul 2018 10:11:04 +0000 (13:11 +0300)
committerMart Raudsepp <leio@gentoo.org>
Fri, 27 Jul 2018 11:44:28 +0000 (14:44 +0300)
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

index c084555f2e3188b685422dc27d8a6af092d80bb5..1b9b8b2d18eeaac079e2b1dd06ab1522059faab7 100644 (file)
@@ -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} \