aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-12-11 18:10:56 +0800
committerdanfe <danfe@FreeBSD.org>2014-12-11 18:10:56 +0800
commitc8e78e177626a09b2ad5cb97e74a7d1d18681913 (patch)
tree6d29dbb68e818dfc17335530e949a7c38cd99c54 /games
parentd5f27d871aabe92a46afcf4bc87481c97c534088 (diff)
downloadfreebsd-ports-gnome-c8e78e177626a09b2ad5cb97e74a7d1d18681913.tar.gz
freebsd-ports-gnome-c8e78e177626a09b2ad5cb97e74a7d1d18681913.tar.zst
freebsd-ports-gnome-c8e78e177626a09b2ad5cb97e74a7d1d18681913.zip
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
Diffstat (limited to 'games')
-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