summaryrefslogtreecommitdiff
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
parentDocument vulnerability in asterisk11. (diff)
Unbreak the build against new freetype2 (v2.5.4).
This is sed(1) version of submitted patch; it is slightly less accurate, but functionally equivalent. PR: 195869 Submitted by: amdmi3
-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