diff -ruN pioneer.orig/Makefile pioneer/Makefile --- pioneer.orig/Makefile 2014-12-02 07:15:33.000000000 +0400 +++ pioneer/Makefile 2014-12-11 19:28:48.000000000 +0400 @@ -3,8 +3,9 @@ PORTNAME= pioneer PORTVERSION= 0.0.${GH_TAGNAME} +PORTREVISION= 1 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 +93,9 @@ ${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