Accepting request 1225488 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1225488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wpewebkit?expand=0&rev=5
This commit is contained in:
Ana Guerrero 2024-11-21 14:18:42 +00:00 committed by Git OBS Bridge
commit 24e9455fbd
3 changed files with 19 additions and 0 deletions

12
fix-icu-build.patch Normal file
View File

@ -0,0 +1,12 @@
Index: wpewebkit-2.46.0/Source/WTF/wtf/Platform.h
===================================================================
--- wpewebkit-2.46.0.orig/Source/WTF/wtf/Platform.h
+++ wpewebkit-2.46.0/Source/WTF/wtf/Platform.h
@@ -115,6 +115,7 @@
/* 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
+#define U_SHOW_CPLUSPLUS_HEADER_API 0
#ifdef __cplusplus
#define UCHAR_TYPE char16_t
#endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 20 17:13:30 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Add fix-icu-build.patch: Support ICU 76.1 build
-------------------------------------------------------------------
Sat Sep 28 12:44:54 UTC 2024 - Michael Gorse <mgorse@suse.com>

View File

@ -33,6 +33,8 @@ License: BSD-3-Clause AND LGPL-2.1-only
Group: Development/Libraries/C and C++
URL: https://wpewebkit.org/
Source: %{url}/releases/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-icu-build.patch -- Support ICU 76.1 build
Patch: fix-icu-build.patch
BuildRequires: bubblewrap
BuildRequires: cmake