Date: Wed, 4 Apr 2018 10:04:30 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466412 - head/games/openttd Message-ID: <201804041004.w34A4U35037181@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Apr 4 10:04:30 2018 New Revision: 466412 URL: https://svnweb.freebsd.org/changeset/ports/466412 Log: games/openttd: unbreak with ICU 61 src/language.h:108:8: error: unknown type name 'Collator'; did you mean 'UCollator'? extern Collator *_current_collator; ^~~~~~~~ UCollator /usr/local/include/unicode/ucol.h:58:26: note: 'UCollator' declared here typedef struct UCollator UCollator; ^ https://ssl.icu-project.org/trac/changeset/40705 PR: 227042 Reported by: antoine (via exp-run) Modified: head/games/openttd/Makefile (contents, props changed) Modified: head/games/openttd/Makefile ============================================================================== --- head/games/openttd/Makefile Wed Apr 4 09:46:40 2018 (r466411) +++ head/games/openttd/Makefile Wed Apr 4 10:04:30 2018 (r466412) @@ -57,6 +57,7 @@ USE_RC_SUBR= ${PORTNAME} .else USES+= compiler:c++11-lib USE_CXXSTD= gnu++11 +CXXFLAGS+= -DU_USING_ICU_NAMESPACE=1 LIB_DEPENDS+= libfreetype.so:print/freetype2 \ libicui18n.so:devel/icu \ libicu-le-hb.so:devel/icu-le-hb \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804041004.w34A4U35037181>