diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-24 11:47:31 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-24 11:47:31 +0000 |
commit | 9f0d6881b3ff0052de14eb2f157090ce459e445b (patch) | |
tree | 5c9905bee328029d43f4852b561aa81601c13796 | |
parent | 9b0fde606ccb8730e6b96816a9edaddd29306d73 (diff) | |
download | FreeBSD-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)
-rw-r--r-- | graphics/glexcess/Makefile | 3 |
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 |