[arch-commits] Commit in webkitgtk/trunk (PKGBUILD icu59.patch)
Evangelos Foutras
foutrelis at archlinux.org
Wed Apr 26 03:16:10 UTC 2017
Date: Wednesday, April 26, 2017 @ 03:16:09
Author: foutrelis
Revision: 294713
Add patch from PLD Linux to fix build with ICU 59
Added:
webkitgtk/trunk/icu59.patch
Modified:
webkitgtk/trunk/PKGBUILD
-------------+
PKGBUILD | 7 +++++--
icu59.patch | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-26 02:30:15 UTC (rev 294712)
+++ PKGBUILD 2017-04-26 03:16:09 UTC (rev 294713)
@@ -18,9 +18,11 @@
options=(!emptydirs)
install=webkitgtk.install
source=(https://webkitgtk.org/releases/$pkgbase-${pkgver}.tar.xz
- webkitgtk-2.4.9-abs.patch)
+ webkitgtk-2.4.9-abs.patch
+ icu59.patch)
sha256sums=('588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7'
- 'ec294bbb5588a1802a68e3615c6718486b22f922645c5fef686d3d103014bf70')
+ 'ec294bbb5588a1802a68e3615c6718486b22f922645c5fef686d3d103014bf70'
+ 'eb791b9c8dcb84996904846dedf8c3ddf1a5fde32330177f3f0071510bd8ca6d')
prepare() {
mkdir build-gtk{,2} path
@@ -28,6 +30,7 @@
cd $pkgbase-$pkgver
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
+ patch -Np1 -i ../icu59.patch
}
_build() (
Added: icu59.patch
===================================================================
--- icu59.patch (rev 0)
+++ icu59.patch 2017-04-26 03:16:09 UTC (rev 294713)
@@ -0,0 +1,38 @@
+--- webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h.orig 2017-02-20 17:20:08.000000000 +0100
++++ webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h 2017-04-22 14:35:00.926530142 +0200
+@@ -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.16.1/Source/WebKit2/Shared/API/c/WKString.h.orig 2017-02-20 17:20:17.000000000 +0100
++++ webkitgtk-2.16.1/Source/WebKit2/Shared/API/c/WKString.h 2017-04-22 14:35:56.853196170 +0200
+@@ -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
More information about the arch-commits
mailing list