diff options
author | Jaroslav Lichtblau | 2018-11-11 17:37:00 +0100 |
---|---|---|
committer | Jaroslav Lichtblau | 2018-11-11 17:37:00 +0100 |
commit | 961c3a1e140bf4a93b060618db06a2dfbcb29918 (patch) | |
tree | cc1c6e9fcc6a6ac7d08d8dcf211816fe33a05aeb /beecrypt-4.2.1-icu-61.patch | |
parent | d9fadf40056fa343844d894b0c3ea46fe543867f (diff) | |
download | aur-beecrypt.tar.gz |
beecrypt-4.2.1-6
Diffstat (limited to 'beecrypt-4.2.1-icu-61.patch')
-rw-r--r-- | beecrypt-4.2.1-icu-61.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/beecrypt-4.2.1-icu-61.patch b/beecrypt-4.2.1-icu-61.patch new file mode 100644 index 000000000000..68845f612d9b --- /dev/null +++ b/beecrypt-4.2.1-icu-61.patch @@ -0,0 +1,51 @@ +On icu-61 built failures look like: + include/beecrypt/c++/lang/String.h:76:17: + error: ‘UnicodeString’ does not name a type + +ICU-61 moved all names into icu:: space. + +The fix is to add 'using icu::<symbol>'. + +Reported-by: Juergen Rose +Bug: https://bugs.gentoo.org/666542 +--- a/c++/beeyond/DHIESParameterSpec.cxx ++++ b/c++/beeyond/DHIESParameterSpec.cxx +@@ -36,2 +36,4 @@ using std::auto_ptr; + #include <unicode/numfmt.h> ++using icu::RegexPattern; ++using icu::RegexMatcher; + +--- a/c++/crypto/Cipher.cxx ++++ b/c++/crypto/Cipher.cxx +@@ -30,2 +30,4 @@ using beecrypt::security::Security; + #include <unicode/ustream.h> ++using icu::RegexMatcher; ++using icu::RegexPattern; + +--- a/c++/lang/Integer.cxx ++++ b/c++/lang/Integer.cxx +@@ -29,2 +29,5 @@ using beecrypt::lang::String; + #include <unicode/numfmt.h> ++using icu::Formattable; ++using icu::NumberFormat; ++ + +--- a/c++/lang/Long.cxx ++++ b/c++/lang/Long.cxx +@@ -29,2 +29,4 @@ using beecrypt::lang::String; + #include <unicode/numfmt.h> ++using icu::Formattable; ++using icu::NumberFormat; + +--- a/c++/util/Date.cxx ++++ b/c++/util/Date.cxx +@@ -28,2 +28,3 @@ + #include <unicode/datefmt.h> ++using icu::DateFormat; + +--- a/include/beecrypt/c++/lang/String.h ++++ b/include/beecrypt/c++/lang/String.h +@@ -41,2 +41,3 @@ using beecrypt::bytearray; + #include <unicode/unistr.h> ++using icu::UnicodeString; + |