summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-08 12:22:52 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-08 13:07:41 -0400
commit962a094e5e7db16e2b9d26a8a69564329f7dee4b (patch)
treee2e3d33ff88db7cef88d4a1731e67ec2de18de80 /media-libs/alsa-lib/alsa-lib-1.0.29.ebuild
parentkde-plasma: version bump 5.4.2 (diff)
downloadgentoo-962a094e5e7db16e2b9d26a8a69564329f7dee4b.tar.gz
gentoo-962a094e5e7db16e2b9d26a8a69564329f7dee4b.tar.bz2
gentoo-962a094e5e7db16e2b9d26a8a69564329f7dee4b.zip
media-libs/alsa-lib: add upstream fix for cross-compiling
The configure script would blindly ignore $CC when cross-compiling. Add the upstream commit that deletes that insanity.
Diffstat (limited to 'media-libs/alsa-lib/alsa-lib-1.0.29.ebuild')
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.0.29.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.29.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.29.ebuild
index 288a03fabf11..4e127b07ec9a 100644
--- a/media-libs/alsa-lib/alsa-lib-1.0.29.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.0.29.ebuild
@@ -34,6 +34,7 @@ pkg_setup() {
src_prepare() {
find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
+ epatch "${FILESDIR}"/${P}-cross-compile.patch
# https://bugs.gentoo.org/509886
use elibc_uclibc && { sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die; }
epatch_user