summaryrefslogtreecommitdiff
path: root/icu68.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-24 18:18:39 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-24 18:18:39 -0800
commitd9459c9635b49b4b39df796856eb3af38347207c (patch)
tree47277853d6cc269bd342f38deb3199aa60280346 /icu68.patch
parentRebuild for boost 1.75 (diff)
download0ad-d9459c9635b49b4b39df796856eb3af38347207c.tar.xz
Rebuild for icu 68.2
Diffstat (limited to 'icu68.patch')
-rw-r--r--icu68.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/icu68.patch b/icu68.patch
new file mode 100644
index 0000000..5e9199d
--- /dev/null
+++ b/icu68.patch
@@ -0,0 +1,17 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+../../../source/i18n/L10n.cpp:208:82: error: use of undeclared identifier 'TRUE'
+ currentLocaleIsOriginalGameLocale = (currentLocale == icu::Locale::getUS()) == TRUE;
+ ^
+
+--- source/i18n/L10n.cpp.orig 2018-04-10 18:13:32 UTC
++++ source/i18n/L10n.cpp
+@@ -205,7 +205,7 @@ void L10n::ReevaluateCurrentLocaleAndReload()
+ else
+ {
+ GetDictionaryLocale(locale, currentLocale);
+- currentLocaleIsOriginalGameLocale = (currentLocale == icu::Locale::getUS()) == TRUE;
++ currentLocaleIsOriginalGameLocale = (currentLocale == icu::Locale::getUS()) == true;
+ useLongStrings = false;
+ }
+ LoadDictionaryForCurrentLocale();