aboutsummaryrefslogtreecommitdiff
path: root/games/widelands
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-04-04 10:10:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-04-04 10:10:26 +0000
commitcc2d570d23f141209eb98456b61638c65cfe278d (patch)
treef8f5312465819a80091bf5a8e7c33c10826271f1 /games/widelands
parentebd48117ed8caec88ad7c86fb818a051b7d6ffb3 (diff)
downloadports-cc2d570d23f141209eb98456b61638c65cfe278d.tar.gz
ports-cc2d570d23f141209eb98456b61638c65cfe278d.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
Notes
Notes: svn path=/head/; revision=466414
Diffstat (limited to 'games/widelands')
-rw-r--r--games/widelands/files/patch-src_graphic_text_bidi.h13
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);