diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-04-04 18:10:26 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-04-04 18:10:26 +0800 |
commit | df3371ab92758e7ba43c4ba9a65ce08f29cb5400 (patch) | |
tree | f8f5312465819a80091bf5a8e7c33c10826271f1 /games/widelands | |
parent | 2ba54a3b505602c3ce89a3482af108a2b17348e6 (diff) | |
download | freebsd-ports-gnome-df3371ab92758e7ba43c4ba9a65ce08f29cb5400.tar.gz freebsd-ports-gnome-df3371ab92758e7ba43c4ba9a65ce08f29cb5400.tar.zst freebsd-ports-gnome-df3371ab92758e7ba43c4ba9a65ce08f29cb5400.zip |
games/widelands: unbreak with ICU 61
In file included from src/graphic/font_handler.cc:36:
src/graphic/text/bidi.h:43:36: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'?
std::string icustring2string(const UnicodeString& convertme);
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here
class U_COMMON_API UnicodeString : public Replaceable
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
Obtained from: upstream
Diffstat (limited to 'games/widelands')
-rw-r--r-- | games/widelands/files/patch-src_graphic_text_bidi.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/widelands/files/patch-src_graphic_text_bidi.h b/games/widelands/files/patch-src_graphic_text_bidi.h new file mode 100644 index 000000000000..c6774b06377a --- /dev/null +++ b/games/widelands/files/patch-src_graphic_text_bidi.h @@ -0,0 +1,13 @@ +https://bazaar.launchpad.net/~widelands-dev/widelands/trunk/revision/8641 + +--- src/graphic/text/bidi.h.orig 2016-11-10 07:28:01 UTC ++++ src/graphic/text/bidi.h +@@ -40,7 +40,7 @@ bool has_rtl_character(std::vector<std::string> input) + // True if a string contains a character from the script's code blocks + bool has_script_character(const char* input, UI::FontSets::Selector script); + UI::FontSet const* find_fontset(const char* word, const UI::FontSets& fontsets); +-std::string icustring2string(const UnicodeString& convertme); ++std::string icustring2string(const icu::UnicodeString& convertme); + std::string icuchar2string(const UChar& convertme); + bool cannot_start_line(const UChar& c); + bool cannot_end_line(const UChar& c); |