From: Mike Frysinger Date: Tue, 15 Oct 2002 23:57:22 +0000 (+0000) Subject: Small gcc3.x fix for #9173 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=35dec117aa14c1d5339aadf8f0e0af5865754367;p=gentoo.git Small gcc3.x fix for #9173 --- diff --git a/media-libs/gltt/gltt-2.5.2-r1.ebuild b/media-libs/gltt/gltt-2.5.2-r1.ebuild index 1e8d8d4ad998..916fd8a5284e 100644 --- a/media-libs/gltt/gltt-2.5.2-r1.ebuild +++ b/media-libs/gltt/gltt-2.5.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gltt/gltt-2.5.2-r1.ebuild,v 1.6 2002/10/04 05:47:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gltt/gltt-2.5.2-r1.ebuild,v 1.7 2002/10/15 23:57:22 vapier Exp $ S=${WORKDIR}/${P} DESCRIPTION="GL truetype library" @@ -19,6 +19,11 @@ RDEPEND="$DEPEND" src_compile() { + #small gcc3.x fix for #9173 + cp FTGlyphVectorizer.h FTGlyphVectorizer.h.old + sed -e 's:friend FTGlyphVectorizer:friend struct FTGlyphVectorizer:' \ + FTGlyphVectorizer.h.old > FTGlyphVectorizer.h + ./configure \ --with-x \ --prefix=/usr \