From c8e78e177626a09b2ad5cb97e74a7d1d18681913 Mon Sep 17 00:00:00 2001 From: danfe Date: Thu, 11 Dec 2014 10:10:56 +0000 Subject: 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 --- games/openttd/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'games/openttd') 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 -- cgit