- Fix build with gcc 4.2

PR:		118084
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
This commit is contained in:
Martin Wilke 2007-11-21 14:56:44 +00:00
parent f995aa7cbf
commit 035f39a84a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202785
2 changed files with 11 additions and 7 deletions

View File

@ -32,10 +32,4 @@ CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \
--with-glut-libraries=${X11BASE}/lib
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
--- GLTTGlyphPolygonizerHandler.h.orig 2007-11-16 11:59:00.000000000 +0100
+++ GLTTGlyphPolygonizerHandler.h 2007-11-16 11:59:58.000000000 +0100
@@ -28,6 +28,7 @@
#include "FTGlyphVectorizer.h"
#endif
+class GLTTGlyphPolygonizer;
/////////////////////////////////////////////////////////////////////////////
// Mmh, this class name is a bit long... /SR