www/{*chromium,iridium}: unbreak build with icu 73
PR: 270817 Approved by: rene (mentor)
This commit is contained in:
parent
c35a299672
commit
f5487f8d23
3 changed files with 54 additions and 0 deletions
18
www/chromium/files/patch-build_linux_unbundle_icu.gn
Normal file
18
www/chromium/files/patch-build_linux_unbundle_icu.gn
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- build/linux/unbundle/icu.gn.orig 2023-04-13 18:16:16 UTC
|
||||
+++ build/linux/unbundle/icu.gn
|
||||
@@ -17,6 +17,15 @@ config("icu_config") {
|
||||
"USING_SYSTEM_ICU=1",
|
||||
"ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
|
||||
|
||||
+ # As of icu 73 C++ nullptr, char16_t, override, final and noexcept are used
|
||||
+ # instead of defines. These definitions can be removed when the bundled icu
|
||||
+ # gets updated to 73. For more details, see:
|
||||
+ # https://unicode-org.atlassian.net/browse/ICU-21833 and
|
||||
+ # https://github.com/unicode-org/icu/commit/28643799377ecf654564f6f31854b02788cebe33
|
||||
+ "U_FINAL=final",
|
||||
+ "U_NOEXCEPT=noexcept",
|
||||
+ "U_OVERRIDE=override",
|
||||
+
|
||||
# U_EXPORT (defined in unicode/platform.h) is used to set public visibility
|
||||
# on classes through the U_COMMON_API and U_I18N_API macros (among others).
|
||||
# When linking against the system ICU library, we want its symbols to have
|
18
www/iridium/files/patch-build_linux_unbundle_icu.gn
Normal file
18
www/iridium/files/patch-build_linux_unbundle_icu.gn
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- build/linux/unbundle/icu.gn.orig 2023-04-13 18:16:16 UTC
|
||||
+++ build/linux/unbundle/icu.gn
|
||||
@@ -17,6 +17,15 @@ config("icu_config") {
|
||||
"USING_SYSTEM_ICU=1",
|
||||
"ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
|
||||
|
||||
+ # As of icu 73 C++ nullptr, char16_t, override, final and noexcept are used
|
||||
+ # instead of defines. These definitions can be removed when the bundled icu
|
||||
+ # gets updated to 73. For more details, see:
|
||||
+ # https://unicode-org.atlassian.net/browse/ICU-21833 and
|
||||
+ # https://github.com/unicode-org/icu/commit/28643799377ecf654564f6f31854b02788cebe33
|
||||
+ "U_FINAL=final",
|
||||
+ "U_NOEXCEPT=noexcept",
|
||||
+ "U_OVERRIDE=override",
|
||||
+
|
||||
# U_EXPORT (defined in unicode/platform.h) is used to set public visibility
|
||||
# on classes through the U_COMMON_API and U_I18N_API macros (among others).
|
||||
# When linking against the system ICU library, we want its symbols to have
|
|
@ -0,0 +1,18 @@
|
|||
--- build/linux/unbundle/icu.gn.orig 2023-04-13 18:16:16 UTC
|
||||
+++ build/linux/unbundle/icu.gn
|
||||
@@ -17,6 +17,15 @@ config("icu_config") {
|
||||
"USING_SYSTEM_ICU=1",
|
||||
"ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
|
||||
|
||||
+ # As of icu 73 C++ nullptr, char16_t, override, final and noexcept are used
|
||||
+ # instead of defines. These definitions can be removed when the bundled icu
|
||||
+ # gets updated to 73. For more details, see:
|
||||
+ # https://unicode-org.atlassian.net/browse/ICU-21833 and
|
||||
+ # https://github.com/unicode-org/icu/commit/28643799377ecf654564f6f31854b02788cebe33
|
||||
+ "U_FINAL=final",
|
||||
+ "U_NOEXCEPT=noexcept",
|
||||
+ "U_OVERRIDE=override",
|
||||
+
|
||||
# U_EXPORT (defined in unicode/platform.h) is used to set public visibility
|
||||
# on classes through the U_COMMON_API and U_I18N_API macros (among others).
|
||||
# When linking against the system ICU library, we want its symbols to have
|
Loading…
Reference in a new issue