diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-04-04 17:46:40 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-04-04 17:46:40 +0800 |
commit | 52bca2a42b9771161a3a61c35a66dcaa07062532 (patch) | |
tree | 8c973b53942972e48e012af2a38cf37c263f7080 /multimedia | |
parent | 46de9ad6594380b3db1d39562a1ef281cd16c8b5 (diff) | |
download | freebsd-ports-graphics-52bca2a42b9771161a3a61c35a66dcaa07062532.tar.gz freebsd-ports-graphics-52bca2a42b9771161a3a61c35a66dcaa07062532.tar.zst freebsd-ports-graphics-52bca2a42b9771161a3a61c35a66dcaa07062532.zip |
multimedia/aegisub: unbreak with ICU 61
libaegisub/common/character_count.cpp:41:12: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:41:12: error: incomplete type 'UBreakIterator' named in nested name specifier
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:41:51: error: use of undeclared identifier 'Locale'; did you mean 'icu::Locale'?
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~
icu::Locale
/usr/local/include/unicode/locid.h:188:20: note: 'icu::Locale' declared here
class U_COMMON_API Locale : public UObject {
^
libaegisub/common/character_count.cpp:63:46: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) {
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:63:46: error: incomplete type 'UBreakIterator' named in nested name specifier
for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) {
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:148:14: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
if (end == BreakIterator::DONE)
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:148:14: error: incomplete type 'UBreakIterator' named in nested name specifier
if (end == BreakIterator::DONE)
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/aegisub/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/aegisub/Makefile b/multimedia/aegisub/Makefile index 5a3093ca2d0..81d3e649a66 100644 --- a/multimedia/aegisub/Makefile +++ b/multimedia/aegisub/Makefile @@ -28,6 +28,7 @@ WX_CONF_ARGS= absolute USE_GL= gl USE_CSTD= c99 USE_CXXSTD= c++11 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 CXXFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528 LDFLAGS+= -Wl,--as-needed # freetype GNU_CONFIGURE= yes |