aboutsummaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-12-11 10:10:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-12-11 10:10:56 +0000
commitc6bf01abb2d833c91d2b3cebd59aa704fb88392c (patch)
tree6d29dbb68e818dfc17335530e949a7c38cd99c54 /games/openttd
parent6402653253634e714f137f587fab8f6cdeef8426 (diff)
downloadports-c6bf01abb2d833c91d2b3cebd59aa704fb88392c.tar.gz
ports-c6bf01abb2d833c91d2b3cebd59aa704fb88392c.zip
Notes
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index c5b1b118fc3d..dec1f7698447 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -92,6 +92,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/config.lib
+ @${REINPLACE_CMD} -e '/FS_NORMAL/s,max(1,&U,' \
+ ${WRKSRC}/src/fontcache.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin