--- /usr/portage/media-video/transcode/transcode-0.6.12-r1.ebuild 2004-06-01 22:16:13.000000000 -0500 +++ transcode-0.6.12-r1.ebuild 2004-06-05 21:21:42.602426960 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12-r1.ebuild,v 1.9 2004/06/02 02:40:32 lv Exp $ -inherit libtool flag-o-matic eutils +inherit libtool flag-o-matic eutils gcc MY_P="${P/_pre/.}" S=${WORKDIR}/${MY_P} @@ -38,10 +38,16 @@ theora? ( media-libs/libtheora )" src_unpack() { + unpack ${A} cd ${S} + + if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] + then epatch ${FILESDIR}/transcode-gcc34.patch - + epatch ${FILESDIR}/transcode-0.6.12-gcc-3.4.patch + fi + if has_version '>=media-libs/netpbm-9.13' then einfo "New netbpm (>9.12)..." @@ -56,6 +62,7 @@ # Don't build with -mfpmath=sse (Bug #14920) filter-mfpmath sse filter-flags -maltivec -mabi=altivec -fforce-addr -momit-leaf-frame-pointer + # BREG error with -fPIC # --- # really ? no on amd64, and we need -fPIC.