svn commit: r466412 - head/games/openttd
Jan Beich
jbeich at FreeBSD.org
Wed Apr 4 10:04:31 UTC 2018
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 \
More information about the svn-ports-all
mailing list