diff --git a/fix-icu-build.patch b/fix-icu-build.patch new file mode 100644 index 0000000..ac76654 --- /dev/null +++ b/fix-icu-build.patch @@ -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 diff --git a/wpewebkit.changes b/wpewebkit.changes index 865bedb..052609a 100644 --- a/wpewebkit.changes +++ b/wpewebkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 20 17:13:30 UTC 2024 - Bjørn Lie + +- Add fix-icu-build.patch: Support ICU 76.1 build + ------------------------------------------------------------------- Sat Sep 28 12:44:54 UTC 2024 - Michael Gorse diff --git a/wpewebkit.spec b/wpewebkit.spec index f60ed2c..23c0405 100644 --- a/wpewebkit.spec +++ b/wpewebkit.spec @@ -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