forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Support-ICU-76.1-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From 57b80aa00be614218552fda67b2bf8d535b4f4cf Mon Sep 17 00:00:00 2001 | ||
From: Jason Schonberg <schonm@gmail.com> | ||
Date: Wed, 20 Nov 2024 11:05:52 -0500 | ||
Subject: [PATCH] Support ICU 76.1 build | ||
|
||
https://bugs.webkit.org/show_bug.cgi?id=282120 | ||
|
||
Reviewed by Yusuke Suzuki. | ||
|
||
In ICU 76.1 an additional macro `U_SHOW_CPLUSPLUS_HEADER_API` was added to | ||
control visibility of the C++ API within ICU. Set this value to `0` since WebKit | ||
wants to only use the C API. | ||
|
||
* Source/WTF/wtf/Platform.h: | ||
|
||
Canonical link: https://commits.webkit.org/285727@main | ||
|
||
Upstream-Status: Backport [ from webkitgtk-2.47.1 https://github.com/WebKit/WebKit/commit/63f7badbada070ebaadd318b2801818ecf7e7ea0 ] | ||
|
||
Signed-off-by: Jason Schonberg <schonm@gmail.com> | ||
--- | ||
Source/WTF/wtf/Platform.h | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h | ||
index 23070df2..51a8dce9 100644 | ||
--- a/Source/WTF/wtf/Platform.h | ||
+++ b/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters