Date: Thursday, April 15, 2021 @ 14:52:32 Author: foutrelis Revision: 412550
Fix build with ICU 69 Added: webkit2gtk/trunk/unhide-deprecated-api.patch Modified: webkit2gtk/trunk/PKGBUILD -----------------------------+ PKGBUILD | 9 +++++++-- unhide-deprecated-api.patch | 12 ++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-04-15 14:11:04 UTC (rev 412549) +++ PKGBUILD 2021-04-15 14:52:32 UTC (rev 412550) @@ -20,14 +20,19 @@ 'gst-plugins-good: media decoding' 'gst-plugins-bad: media decoding' 'gst-libav: nonfree media decoding') -source=($url/releases/webkitgtk-$pkgver.tar.xz{,.asc}) +source=($url/releases/webkitgtk-$pkgver.tar.xz{,.asc} + unhide-deprecated-api.patch) sha256sums=('9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0' - 'SKIP') + 'SKIP' + '48ee7bee0b50776c8153c20b96854bd5086e0a7d04e621fd57ea7fc6c690c3a2') validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgar...@igalia.com> '5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <ape...@igalia.com> prepare() { cd webkitgtk-$pkgver + + # Use deprecated API for ubrk_safeClone until ICU 69 is officially supported + patch -Np1 -i ../unhide-deprecated-api.patch } build() { Added: unhide-deprecated-api.patch =================================================================== --- unhide-deprecated-api.patch (rev 0) +++ unhide-deprecated-api.patch 2021-04-15 14:52:32 UTC (rev 412550) @@ -0,0 +1,12 @@ +diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h +index 6fa104c82992..8c8640c3dee7 100644 +--- a/Source/WTF/wtf/Platform.h ++++ b/Source/WTF/wtf/Platform.h +@@ -113,7 +113,6 @@ + + /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */ + /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */ +-#define U_HIDE_DEPRECATED_API 1 + #define U_SHOW_CPLUSPLUS_API 0 + #ifdef __cplusplus + #define UCHAR_TYPE char16_t