aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-24 19:47:31 +0800
committermiwi <miwi@FreeBSD.org>2007-07-24 19:47:31 +0800
commit9f0d6881b3ff0052de14eb2f157090ce459e445b (patch)
tree5c9905bee328029d43f4852b561aa81601c13796
parent9b0fde606ccb8730e6b96816a9edaddd29306d73 (diff)
downloadfreebsd-ports-gnome-9f0d6881b3ff0052de14eb2f157090ce459e445b.tar.gz
freebsd-ports-gnome-9f0d6881b3ff0052de14eb2f157090ce459e445b.tar.zst
freebsd-ports-gnome-9f0d6881b3ff0052de14eb2f157090ce459e445b.zip
- Fix build with gcc 4.2
PR: 114787 Submitted by: Hernan Di Pietro <hernan.di.pietro@gmail.com> (maintainer)
-rw-r--r--graphics/glexcess/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/glexcess/Makefile b/graphics/glexcess/Makefile
index 39e2a72d0bb0..c72a68234e2a 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