summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-15 23:57:22 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-15 23:57:22 +0000
commite87e1458195f39a87547cc6972d5b83bce48581f (patch)
tree0882b205e6a4ccb1761b89ceaa05a0af12a31d66
parentWhen sparc/sparc64 keywords were added, a trailing " was forgotten (diff)
downloadgentoo-2-e87e1458195f39a87547cc6972d5b83bce48581f.tar.gz
gentoo-2-e87e1458195f39a87547cc6972d5b83bce48581f.tar.bz2
gentoo-2-e87e1458195f39a87547cc6972d5b83bce48581f.zip
Small gcc3.x fix for #9173
-rw-r--r--media-libs/gltt/gltt-2.5.2-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
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 \