File Fix-build-with-ICU-61.patch of Package kbibtex4

From d6a2a01b56f61a7736a5dae1f8c92becb7fbd2be Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
Date: Thu, 5 Apr 2018 22:26:34 +0200
Subject: Fix build with ICU 61

Starting from ICU 61, UnicodeString type needs to be properly namespaced

Differential Revision: https://phabricator.kde.org/D11883
---
 src/io/encoderlatex.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/io/encoderlatex.cpp b/src/io/encoderlatex.cpp
index 2d66697..2ba30ab 100644
--- a/src/io/encoderlatex.cpp
+++ b/src/io/encoderlatex.cpp
@@ -1099,7 +1099,7 @@ QString EncoderLaTeX::convertToPlainAscii(const QString &ninput) const
     for (int i = 0; i < ninputLen; ++i)
         uChars[i] = ninput.at(i).unicode();
     /// Create an ICU-specific unicode string
-    UnicodeString uString = UnicodeString(uChars, ninputLen);
+    icu::UnicodeString uString = icu::UnicodeString(uChars, ninputLen);
     /// Perform the actual transliteration, modifying Unicode string
     m_trans->transliterate(uString);
     /// Create regular C++ string from Unicode string
-- 
cgit v0.11.2
openSUSE Build Service is sponsored by