File another-workaround-for-ICU-59.patch of Package compat-firebird25

From: Michal Kubecek <mkubecek@suse.cz>
Date: Sun, 4 Mar 2018 00:18:35 +0100
Subject: another workaround for ICU >= 59
Patch-mainline: not yet, testing

There is another place where we need to work around ICU changes since
version 59.
---
 src/isql/isql.epp | 4 ++++
 src/jrd/common.h  | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/src/isql/isql.epp b/src/isql/isql.epp
index affec5d3116c..a28d1807d4a9 100644
--- a/src/isql/isql.epp
+++ b/src/isql/isql.epp
@@ -131,6 +131,10 @@ using MsgFormat::SafeArg;
 #include "../isql/InputDevices.h"
 #include "../isql/OptionsBase.h"
 
+#undef U_SHOW_CPLUSPLUS_API
+#define U_SHOW_CPLUSPLUS_API 0
+#undef UCHAR_TYPE
+#define UCHAR_TYPE uint16_t
 #include "../intl/charsets.h"
 #include <unicode/utf8.h>
 
-- 
2.16.2

openSUSE Build Service is sponsored by