diff options
Diffstat (limited to 'net-libs/webkit-gtk/files/webkit-gtk-2.4.11-JSStringRef-typedef.patch')
-rw-r--r-- | net-libs/webkit-gtk/files/webkit-gtk-2.4.11-JSStringRef-typedef.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-2.4.11-JSStringRef-typedef.patch b/net-libs/webkit-gtk/files/webkit-gtk-2.4.11-JSStringRef-typedef.patch new file mode 100644 index 0000000..395c1d5 --- /dev/null +++ b/net-libs/webkit-gtk/files/webkit-gtk-2.4.11-JSStringRef-typedef.patch @@ -0,0 +1,19 @@ +--- webkitgtk-2.4.11.orig/Source/JavaScriptCore/API/JSStringRef.h 2016-04-10 08:48:36.000000000 +0200 ++++ webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.h 2017-12-20 23:04:55.000000000 +0100 +@@ -27,6 +27,7 @@ + #define JSStringRef_h + + #include <JavaScriptCore/JSValueRef.h> ++#include <uchar.h> + + #ifndef __cplusplus + #include <stdbool.h> +@@ -43,7 +44,7 @@ + @typedef JSChar + @abstract A Unicode character. + */ +- typedef unsigned short JSChar; ++ typedef char16_t JSChar; + #else + typedef wchar_t JSChar; + #endif |