poedit: fix build against icu-59 (Arch patch)

This commit is contained in:
Michael Gehring 2017-04-29 16:59:30 +00:00
parent 426eb1ec16
commit 61fbd710ae
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -upr poedit-2.0.1.orig/src/unicode_helpers.cpp poedit-2.0.1/src/unicode_helpers.cpp
--- src/unicode_helpers.cpp 2017-04-26 10:55:31.807183266 +0300
+++ src/unicode_helpers.cpp 2017-04-26 11:02:47.373899526 +0300
@@ -25,6 +25,7 @@
#include "unicode_helpers.h"
+#include <unicode/unistr.h>
#include "str_helpers.h"
#include <unicode/ubidi.h>

View File

@ -14,6 +14,8 @@ homepage="http://www.poedit.net/"
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
checksum=8766874175b2221ef670d89b32f0fe900cde3e27e5dcb2c1b6cf6d01e8d56ff3
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
post_install() {
vlicense COPYING
}