Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 10:10:57 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374519 - head/games/openttd
Message-ID:  <201412111010.sBBAAvZm047577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412111010.sBBAAvZm047577>