]> git.pld-linux.org Git - packages/ewebkit.git/blob - icu59.patch
- fix build with icu 59
[packages/ewebkit.git] / icu59.patch
1 --- qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig  2015-10-13 06:37:10.000000000 +0200
2 +++ qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h       2017-04-24 12:26:42.495345570 +0200
3 @@ -32,6 +32,7 @@
4  #include <stdbool.h>
5  #endif
6  #include <stddef.h> /* for size_t */
7 +#include <uchar.h>
8  
9  #ifdef __cplusplus
10  extern "C" {
11 @@ -43,7 +44,7 @@
12  @typedef JSChar
13  @abstract A Unicode character.
14  */
15 -    typedef unsigned short JSChar;
16 +    typedef char16_t JSChar;
17  #else
18      typedef wchar_t JSChar;
19  #endif
20 --- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig   2015-10-13 06:37:12.000000000 +0200
21 +++ qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h        2017-04-24 12:27:33.432011867 +0200
22 @@ -31,6 +31,7 @@
23  #ifndef __cplusplus
24  #include <stdbool.h>
25  #endif
26 +#include <uchar.h>
27  
28  #ifdef __cplusplus
29  extern "C" {
30 @@ -38,7 +39,7 @@
31  
32  #if !defined(WIN32) && !defined(_WIN32) \
33      && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
34 -    typedef unsigned short WKChar;
35 +    typedef char16_t WKChar;
36  #else
37      typedef wchar_t WKChar;
38  #endif
This page took 0.145272 seconds and 3 git commands to generate.