summaryrefslogtreecommitdiff
path: root/pcr/phantomjs/icu59.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-04-21 23:50:46 +0200
committerAndreas Grapentin <andreas@grapentin.org>2018-04-21 23:51:04 +0200
commitaf1e996fd2ee7c69c39921f76f68ed8c1f2b16d9 (patch)
treebc5f2d9dad6e51b3902292a7892eed269067aa3a /pcr/phantomjs/icu59.patch
parent72218b3a454ffeb07f62e1b81d1c2cd6058e139c (diff)
downloadabslibre-af1e996fd2ee7c69c39921f76f68ed8c1f2b16d9.tar.gz
abslibre-af1e996fd2ee7c69c39921f76f68ed8c1f2b16d9.tar.bz2
abslibre-af1e996fd2ee7c69c39921f76f68ed8c1f2b16d9.zip
pcr/phantomjs: added
Diffstat (limited to 'pcr/phantomjs/icu59.patch')
-rw-r--r--pcr/phantomjs/icu59.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/phantomjs/icu59.patch b/pcr/phantomjs/icu59.patch
new file mode 100644
index 000000000..a7c190e61
--- /dev/null
+++ b/pcr/phantomjs/icu59.patch
@@ -0,0 +1,38 @@
+--- qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig 2015-10-13 06:37:10.000000000 +0200
++++ qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h 2017-04-24 12:26:42.495345570 +0200
+@@ -32,6 +32,7 @@
+ #include <stdbool.h>
+ #endif
+ #include <stddef.h> /* for size_t */
++#include <uchar.h>
+
+ #ifdef __cplusplus
+ extern "C" {
+@@ -43,7 +44,7 @@
+ @typedef JSChar
+ @abstract A Unicode character.
+ */
+- typedef unsigned short JSChar;
++ typedef char16_t JSChar;
+ #else
+ typedef wchar_t JSChar;
+ #endif
+--- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig 2015-10-13 06:37:12.000000000 +0200
++++ qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h 2017-04-24 12:27:33.432011867 +0200
+@@ -31,6 +31,7 @@
+ #ifndef __cplusplus
+ #include <stdbool.h>
+ #endif
++#include <uchar.h>
+
+ #ifdef __cplusplus
+ extern "C" {
+@@ -38,7 +39,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