[arch-commits] Commit in wpewebkit/trunk (PKGBUILD unhide-deprecated-api.patch)

Evangelos Foutras foutrelis at archlinux.org
Thu Apr 15 16:01:58 UTC 2021


    Date: Thursday, April 15, 2021 @ 16:01:58
  Author: foutrelis
Revision: 412580

Fix build with ICU 69

Added:
  wpewebkit/trunk/unhide-deprecated-api.patch
Modified:
  wpewebkit/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |    9 +++++++--
 unhide-deprecated-api.patch |   12 ++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-15 16:00:11 UTC (rev 412579)
+++ PKGBUILD	2021-04-15 16:01:58 UTC (rev 412580)
@@ -18,14 +18,19 @@
             'gst-plugins-good: media decoding'
             'gst-plugins-bad: media decoding'
             'gst-libav: nonfree media decoding')
-source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc}
+        unhide-deprecated-api.patch)
 sha256sums=('6cfb18af9a180eeffffcaf34fea68d867ee59f633d811ced92bbead2d184b6ea'
-            'SKIP')
+            'SKIP'
+            '48ee7bee0b50776c8153c20b96854bd5086e0a7d04e621fd57ea7fc6c690c3a2')
 validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3'  # Carlos Garcia Campos <cgarcia at igalia.com>
               '5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez at igalia.com>
 
 prepare() {
   cd $pkgname-$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 16:01:58 UTC (rev 412580)
@@ -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



More information about the arch-commits mailing list