From 968ab6cdd1ffa460d8ced424f7cb65a7a90be1c4 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Tue, 16 Oct 2007 15:10:12 +0000 Subject: [PATCH] - Fix build with GCC 4.x --- graphics/amanith/Makefile | 7 +------ .../files/patch-examples-opengl-vectorizer_drawer.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 graphics/amanith/files/patch-examples-opengl-vectorizer_drawer.h diff --git a/graphics/amanith/Makefile b/graphics/amanith/Makefile index 7bbf241bd940..4766ef7def06 100644 --- a/graphics/amanith/Makefile +++ b/graphics/amanith/Makefile @@ -7,7 +7,7 @@ PORTNAME= amanith PORTVERSION= 0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.amanith.org/download/files/ \ http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/ @@ -21,7 +21,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ freetype.9:${PORTSDIR}/print/freetype2 -USE_GCC= 3.4+ USE_QT_VER= 3 USE_XLIB= yes USE_GL= yes @@ -40,10 +39,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .include -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -i "" -e 's|3rdpart||' ${WRKSRC}/amanith.pro diff --git a/graphics/amanith/files/patch-examples-opengl-vectorizer_drawer.h b/graphics/amanith/files/patch-examples-opengl-vectorizer_drawer.h new file mode 100644 index 000000000000..2abec9c0aae2 --- /dev/null +++ b/graphics/amanith/files/patch-examples-opengl-vectorizer_drawer.h @@ -0,0 +1,11 @@ +--- examples/opengl/vectorizer/drawer.h 2007-10-16 10:03:21.000000000 -0500 ++++ examples/opengl/vectorizer/drawer.h 2007-10-16 10:04:22.000000000 -0500 +@@ -71,7 +71,7 @@ + #endif + // destructor + ~QGLWidgetTest(); +- void QGLWidgetTest::timerEvent(QTimerEvent *e); ++ void timerEvent(QTimerEvent *e); + }; + +