aboutsummaryrefslogtreecommitdiff
path: root/games/pioneer
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-11 23:06:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-11 23:06:09 +0000
commit51ef8cc1d1e8ddb1cab31958938f4ca53f4632b7 (patch)
tree6bc6877eea62b23f7ae00d9e3c07cbaaa909db52 /games/pioneer
parenta4e301175c9a2d07ccd912ad59b5a50320845318 (diff)
downloadports-51ef8cc1d1e8ddb1cab31958938f4ca53f4632b7.tar.gz
ports-51ef8cc1d1e8ddb1cab31958938f4ca53f4632b7.zip
Notes
Diffstat (limited to 'games/pioneer')
-rw-r--r--games/pioneer/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile
index 2855898e3ead..803dec5011bb 100644
--- a/games/pioneer/Makefile
+++ b/games/pioneer/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pioneer
PORTVERSION= 0.0.${GH_TAGNAME}
CATEGORIES= games
-MASTER_SITES= http://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/
+MASTER_SITES= http://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}${EXTRACT_SUFX}?dummy=/
MAINTAINER= lightside@gmx.com
COMMENT= Space adventure game set in the Milky Way galaxy
@@ -92,6 +92,9 @@ post-patch: .SILENT
${WRKSRC}/configure.ac
${REINPLACE_CMD} -e 's/modelviewer/${PORTNAME} -modelviewer/' \
${WRKSRC}/Modelviewer.txt
+# Use "unsigned int" type for std::max matching function
+ ${REINPLACE_CMD} -e 's/int m_atlasVIncrement/unsigned &/' \
+ ${WRKSRC}/src/text/TextureFont.h
.if !${PORT_OPTIONS:MMODELCOMPILER}
${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \
${WRKSRC}/src/Makefile.am