widelands/widelands-build19-fix-build-icu.patch
Claes Backstrom c5f4c6a57e Accepting request 617389 from home:1Antoine1:branches:games
- Fix build on Tumbleweed (boo#1097928, lp#1760581):
  * Add widelands-build19-fix-build-icu.patch (picked from
    upstream).
- Modernize spec file.

OBS-URL: https://build.opensuse.org/request/show/617389
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=43
2018-06-19 04:52:03 +00:00

14 lines
667 B
Diff

=== modified file 'src/graphic/text/bidi.h'
--- src/graphic/text/bidi.h 2017-01-25 18:55:59 +0000
+++ src/graphic/text/bidi.h 2018-04-02 14:32:46 +0000
@@ -40,7 +40,7 @@
// 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);