summaryrefslogtreecommitdiffstats
path: root/graphics/glexcess
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-24 11:47:31 +0000
committermiwi <miwi@FreeBSD.org>2007-07-24 11:47:31 +0000
commit9f0d6881b3ff0052de14eb2f157090ce459e445b (patch)
tree5c9905bee328029d43f4852b561aa81601c13796 /graphics/glexcess
parent9b0fde606ccb8730e6b96816a9edaddd29306d73 (diff)
downloadFreeBSD-ports-9f0d6881b3ff0052de14eb2f157090ce459e445b.zip
FreeBSD-ports-9f0d6881b3ff0052de14eb2f157090ce459e445b.tar.gz
- Fix build with gcc 4.2
PR: 114787 Submitted by: Hernan Di Pietro <hernan.di.pietro@gmail.com> (maintainer)
Diffstat (limited to 'graphics/glexcess')
-rw-r--r--graphics/glexcess/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/glexcess/Makefile b/graphics/glexcess/Makefile
index 39e2a72..c72a682 100644
--- a/graphics/glexcess/Makefile
+++ b/graphics/glexcess/Makefile
@@ -25,6 +25,9 @@ MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${X11BASE}/include -pipe -s -O2' \
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp
+ @${REINPLACE_CMD} -e 's|k_InitGL(GLvoid)|k_InitGL(void)|' ${WRKSRC}/scene12.cpp
+ @${REINPLACE_CMD} -e 's|Load(char\*|Load(const char* |g' ${WRKSRC}/Texture.*
+ @${REINPLACE_CMD} -e 's|Create(char\*|Create(const char* |g' ${WRKSRC}/Texture.*
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/glxs ${PREFIX}/bin
OpenPOWER on IntegriCloud