aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-12 07:06:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-12 07:06:09 +0800
commit51b0c9786600893ccaccbefbfe5c646aa7ba40c1 (patch)
tree6bc6877eea62b23f7ae00d9e3c07cbaaa909db52 /games
parentecf8b506f4fff8f1bc35c1a576c60da3cc78f051 (diff)
downloadfreebsd-ports-gnome-51b0c9786600893ccaccbefbfe5c646aa7ba40c1.tar.gz
freebsd-ports-gnome-51b0c9786600893ccaccbefbfe5c646aa7ba40c1.tar.zst
freebsd-ports-gnome-51b0c9786600893ccaccbefbfe5c646aa7ba40c1.zip
- Fix build with new freetype
PR: 195895 Submitted by: lightside@gmx.com (maintainer)
Diffstat (limited to 'games')
-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