aboutsummaryrefslogtreecommitdiff
path: root/games/openttd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/openttd/Makefile')
-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