diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-28 10:09:32 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-28 10:09:32 +0000 |
commit | 11892d39e32abd41c65da0010286fc18eb944842 (patch) | |
tree | 1014e8e830e804eef6a089b29dd8242dc2bcaf50 /media-libs/libdts/libdts-0.0.2-r3.ebuild | |
parent | Stable on alpha. (diff) | |
download | gentoo-2-11892d39e32abd41c65da0010286fc18eb944842.tar.gz gentoo-2-11892d39e32abd41c65da0010286fc18eb944842.tar.bz2 gentoo-2-11892d39e32abd41c65da0010286fc18eb944842.zip |
Add patch to add support for visibility (with GCC 4.1).
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'media-libs/libdts/libdts-0.0.2-r3.ebuild')
-rw-r--r-- | media-libs/libdts/libdts-0.0.2-r3.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/libdts/libdts-0.0.2-r3.ebuild b/media-libs/libdts/libdts-0.0.2-r3.ebuild index c744b46c5692..209bac88a064 100644 --- a/media-libs/libdts/libdts-0.0.2-r3.ebuild +++ b/media-libs/libdts/libdts-0.0.2-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/libdts-0.0.2-r3.ebuild,v 1.12 2006/05/25 02:46:28 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/libdts-0.0.2-r3.ebuild,v 1.13 2006/05/28 10:09:32 flameeyes Exp $ -inherit eutils autotools +inherit eutils toolchain-funcs autotools DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD" HOMEPAGE="http://www.videolan.org/dtsdec.html" @@ -20,8 +20,10 @@ src_unpack() { epatch "${FILESDIR}/${P}-libtool.patch" epatch "${FILESDIR}/${P}-freebsd.patch" + [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]] && \ + epatch "${FILESDIR}/${P}-visibility.patch" - eautoreconf + AT_M4DIR="m4" eautoreconf } src_compile() { |