Small gcc3.x fix for #9173
authorMike Frysinger <vapier@gentoo.org>
Tue, 15 Oct 2002 23:57:22 +0000 (23:57 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Oct 2002 23:57:22 +0000 (23:57 +0000)
media-libs/gltt/gltt-2.5.2-r1.ebuild

index 1e8d8d4ad99875a9bf2f36f51221108a102fca4a..916fd8a5284e83f8c305e3faff4720b4a7392355 100644 (file)
@@ -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 \