diff --git a/srcpkgs/poedit/patches/icu59.patch b/srcpkgs/poedit/patches/icu59.patch new file mode 100644 index 00000000000..4a3e9313beb --- /dev/null +++ b/srcpkgs/poedit/patches/icu59.patch @@ -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 + #include "str_helpers.h" + + #include diff --git a/srcpkgs/poedit/template b/srcpkgs/poedit/template index 0c924f05c8e..c41dd05ca76 100644 --- a/srcpkgs/poedit/template +++ b/srcpkgs/poedit/template @@ -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 }