commit:     448729f6b3a2484a681d00bccbeece0e24fd7ca5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 22:17:34 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 22 22:17:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448729f6

media-libs/alsa-lib: tweak FEATURES=test from failing, bug #545950

The test happened to fail only on systems without alsa-lib
installed (any fresh stage3).

Reported-by: eroen
Bug: https://bugs.gentoo.org/545950

Package-Manager: portage-2.3.0_rc1

 media-libs/alsa-lib/alsa-lib-1.1.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild 
b/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
index bd7a02a..ce74768 100644
--- a/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
@@ -36,6 +36,8 @@ src_prepare() {
        find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || 
die
        # https://bugs.gentoo.org/509886
        use elibc_uclibc && { sed -i -e 's:oldapi queue_timer:queue_timer:' 
test/Makefile.am || die; }
+       # https://bugs.gentoo.org/545950
+       sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' 
test/lsb/Makefile.am || die
        default
        eautoreconf
 }

Reply via email to