--- /dev/null
+--- mapnik-v3.0.12/include/mapnik/text/harfbuzz_shaper.hpp.orig 2017-04-27 21:10:31.804876433 +0200
++++ mapnik-v3.0.12/include/mapnik/text/harfbuzz_shaper.hpp 2017-04-27 21:11:23.065634158 +0200
+@@ -55,11 +55,7 @@
+ static inline const uint16_t * uchar_to_utf16(const UChar* src)
+ {
+ static_assert(sizeof(UChar) == sizeof(uint16_t),"UChar is eq size to uint16_t");
+-#if defined(_MSC_VER)
+ return reinterpret_cast<const uint16_t *>(src);
+-#else
+- return src;
+-#endif
+ }
+
+ struct harfbuzz_shaper
--- /dev/null
+--- mapnik-v3.0.12/include/mapnik/value_types.hpp~ 2016-09-08 10:49:19.000000000 +0200
++++ mapnik-v3.0.12/include/mapnik/value_types.hpp 2017-04-27 21:00:01.132437004 +0200
+@@ -31,6 +31,7 @@
+ #pragma GCC diagnostic push
+ #include <mapnik/warning_ignore.hpp>
+ #include <unicode/uversion.h> // for U_NAMESPACE_QUALIFIER
++#include <unicode/unistr.h>
+ #pragma GCC diagnostic pop
+
+ // stl
Source0: https://github.com/mapnik/mapnik/releases/download/v%{version}/%{name}-v%{version}.tar.bz2
# Source0-md5: 221c1fa8e63f4cc93b3040e9382e3394
Patch0: mapnik-boost_lib_names.patch
+Patch1: cxx.patch
+Patch2: icu59.patch
URL: http://mapnik.org/
BuildRequires: boost-devel
BuildRequires: boost-python-devel
%prep
%setup -q -n %{name}-v%{version}
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
%scons configure \