From 7367172c043e5bc4d4ae57092a4e4054fb43e087 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 29 Apr 2017 10:57:01 +0000 Subject: [PATCH] webkitgtk: fix build against icu-59 (PLD Linux patch) --- srcpkgs/webkitgtk/patches/icu59.patch | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srcpkgs/webkitgtk/patches/icu59.patch diff --git a/srcpkgs/webkitgtk/patches/icu59.patch b/srcpkgs/webkitgtk/patches/icu59.patch new file mode 100644 index 00000000000..93a3c383a9d --- /dev/null +++ b/srcpkgs/webkitgtk/patches/icu59.patch @@ -0,0 +1,38 @@ +--- Source/JavaScriptCore/API/JSStringRef.h.orig 2017-02-20 17:20:08.000000000 +0100 ++++ Source/JavaScriptCore/API/JSStringRef.h 2017-04-22 14:35:00.926530142 +0200 +@@ -32,6 +32,7 @@ + #include + #endif + #include /* for size_t */ ++#include + + #ifdef __cplusplus + extern "C" { +@@ -46,7 +47,7 @@ + character. As with all scalar types, endianness depends on the underlying + architecture. + */ +- typedef unsigned short JSChar; ++ typedef char16_t JSChar; + #else + typedef wchar_t JSChar; + #endif +--- Source/WebKit2/Shared/API/c/WKString.h.orig 2017-02-20 17:20:17.000000000 +0100 ++++ Source/WebKit2/Shared/API/c/WKString.h 2017-04-22 14:35:56.853196170 +0200 +@@ -28,6 +28,7 @@ + + #include + #include ++#include + + #ifndef __cplusplus + #include +@@ -39,7 +40,7 @@ + + #if !defined(WIN32) && !defined(_WIN32) \ + && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */ +- typedef unsigned short WKChar; ++ typedef char16_t WKChar; + #else + typedef wchar_t WKChar; + #endif