--- /usr/portage/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild 2010-01-15 01:35:50.000000000 +0100 +++ alsa-lib/alsa-lib-1.0.22-r1.ebuild 2010-03-09 18:49:52.641515826 +0100 @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild,v 1.2 2010/01/15 00:09:26 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild,v 1.1 2010/02/12 16:10:20 chainsaw Exp $ inherit eutils libtool @@ -42,6 +42,16 @@ src_unpack() { unpack ${A} cd "${S}" + # Say thanks to Ubuntu ;-) + # Properly setup configuration files, even if they don't exist + # in this way, if other pkgs (pulseaudio for instance) are + # installed, alsa will use them out-of-the-box + epatch "${FILESDIR}/pulseaudio_configuration.patch" + # net-wireless/bluez settings, this makes bluetooth headset working + epatch "${FILESDIR}/bluetooth_configuration.patch" + + + epatch "${FILESDIR}/${P}-fd-leak.patch" elibtoolize epunt_cxx }