svn commit: r374519 - head/games/openttd

Alexey Dokuchaev danfe at FreeBSD.org
Thu Dec 11 10:10:58 UTC 2014


Author: danfe
Date: Thu Dec 11 10:10:56 2014
New Revision: 374519
URL: https://svnweb.freebsd.org/changeset/ports/374519
QAT: https://qat.redports.org/buildarchive/r374519/

Log:
  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

Modified:
  head/games/openttd/Makefile

Modified: head/games/openttd/Makefile
==============================================================================
--- head/games/openttd/Makefile	Thu Dec 11 09:41:10 2014	(r374518)
+++ head/games/openttd/Makefile	Thu Dec 11 10:10:56 2014	(r374519)
@@ -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


More information about the svn-ports-head mailing list