diff options
Diffstat (limited to 'nonprism/webkit2gtk/icu59.patch')
-rw-r--r-- | nonprism/webkit2gtk/icu59.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nonprism/webkit2gtk/icu59.patch b/nonprism/webkit2gtk/icu59.patch new file mode 100644 index 000000000..1f4de2cbf --- /dev/null +++ b/nonprism/webkit2gtk/icu59.patch @@ -0,0 +1,38 @@ +--- webkitgtk-2.17.2/Source/JavaScriptCore/API/JSStringRef.h.orig 2017-01-18 02:06:54.000000000 -0500 ++++ webkitgtk-2.17.2/Source/JavaScriptCore/API/JSStringRef.h 2017-05-14 15:44:49.756359140 -0500 +@@ -32,6 +32,7 @@ + #include <stdbool.h> + #endif + #include <stddef.h> /* for size_t */ ++#include <uchar.h> + + #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 +--- webkitgtk-2.17.2/Source/WebKit2/Shared/API/c/WKString.h.orig 2016-09-16 04:56:48.000000000 -0500 ++++ webkitgtk-2.17.2/Source/WebKit2/Shared/API/c/WKString.h 2017-05-14 15:47:03.846355158 -0500 +@@ -28,6 +28,7 @@ + + #include <WebKit/WKBase.h> + #include <stddef.h> ++#include <uchar.h> + + #ifndef __cplusplus + #include <stdbool.h> +@@ -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 |