aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2023-04-13 19:36:28 +0000
committerRobert Nagy <rnagy@FreeBSD.org>2023-04-14 09:19:33 +0000
commitf5487f8d23309891b6faacaa9eb517f97ece429d (patch)
treee14fc14d680b976dcd6c2594116e8d0906aa7849
parentc35a29967298c589d0fc118850e7dc968d612c61 (diff)
downloadports-f5487f8d23309891b6faacaa9eb517f97ece429d.tar.gz
ports-f5487f8d23309891b6faacaa9eb517f97ece429d.zip
www/{*chromium,iridium}: unbreak build with icu 73
PR: 270817 Approved by: rene (mentor)
-rw-r--r--www/chromium/files/patch-build_linux_unbundle_icu.gn18
-rw-r--r--www/iridium/files/patch-build_linux_unbundle_icu.gn18
-rw-r--r--www/ungoogled-chromium/files/patch-build_linux_unbundle_icu.gn18
3 files changed, 54 insertions, 0 deletions
diff --git a/www/chromium/files/patch-build_linux_unbundle_icu.gn b/www/chromium/files/patch-build_linux_unbundle_icu.gn
new file mode 100644
index 000000000000..8f61fffcf46b
--- /dev/null
+++ b/www/chromium/files/patch-build_linux_unbundle_icu.gn
@@ -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
diff --git a/www/iridium/files/patch-build_linux_unbundle_icu.gn b/www/iridium/files/patch-build_linux_unbundle_icu.gn
new file mode 100644
index 000000000000..8f61fffcf46b
--- /dev/null
+++ b/www/iridium/files/patch-build_linux_unbundle_icu.gn
@@ -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
diff --git a/www/ungoogled-chromium/files/patch-build_linux_unbundle_icu.gn b/www/ungoogled-chromium/files/patch-build_linux_unbundle_icu.gn
new file mode 100644
index 000000000000..8f61fffcf46b
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-build_linux_unbundle_icu.gn
@@ -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