aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2024-05-11 04:12:01 +0000
committerJason E. Hale <jhale@FreeBSD.org>2024-05-15 04:11:36 +0000
commit6d647fd89751c8e535d8b3b332844b7f6cc6389a (patch)
tree5b7519ff07fe2cb78c065c4b6318dc9061b628e5
parent8fed35cd38a5a5ded99113e7f23044d32d1190a8 (diff)
downloadports-6d647fd89751c8e535d8b3b332844b7f6cc6389a.tar.gz
ports-6d647fd89751c8e535d8b3b332844b7f6cc6389a.zip
www/chromium: Fix build with ninja 1.12.0
Fix race conditions where generated headers are not created before they are needed in the build. PR: 278693 Approved by: portmgr (blanket)
-rw-r--r--www/chromium/files/patch-chrome_browser_devtools_BUILD.gn10
-rw-r--r--www/chromium/files/patch-net_dns_BUILD.gn16
2 files changed, 23 insertions, 3 deletions
diff --git a/www/chromium/files/patch-chrome_browser_devtools_BUILD.gn b/www/chromium/files/patch-chrome_browser_devtools_BUILD.gn
new file mode 100644
index 000000000000..06adbd4b64ff
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_devtools_BUILD.gn
@@ -0,0 +1,10 @@
+--- chrome/browser/devtools/BUILD.gn.orig 2024-04-30 23:46:45 UTC
++++ chrome/browser/devtools/BUILD.gn
+@@ -113,6 +113,7 @@ static_library("devtools") {
+ "//chrome/browser/autofill:autofill",
+ "//components/autofill/content/browser:browser",
+ "//components/autofill/core/browser:browser",
++ "//components/enterprise/buildflags",
+ "//components/paint_preview/buildflags:buildflags",
+ "//content/public/browser",
+ "//net",
diff --git a/www/chromium/files/patch-net_dns_BUILD.gn b/www/chromium/files/patch-net_dns_BUILD.gn
index 8c130b336675..dd5a55548aa8 100644
--- a/www/chromium/files/patch-net_dns_BUILD.gn
+++ b/www/chromium/files/patch-net_dns_BUILD.gn
@@ -1,4 +1,4 @@
---- net/dns/BUILD.gn.orig 2024-04-19 13:02:56 UTC
+--- net/dns/BUILD.gn.orig 2024-04-30 23:47:00 UTC
+++ net/dns/BUILD.gn
@@ -136,7 +136,7 @@ source_set("dns") {
"dns_config_service_android.cc",
@@ -9,7 +9,17 @@
sources += [
"dns_config_service_linux.cc",
"dns_config_service_linux.h",
-@@ -177,6 +177,7 @@ source_set("dns") {
+@@ -170,6 +170,9 @@ source_set("dns") {
+ }
+
+ deps = [ "//net:net_deps" ]
++ if (is_bsd) {
++ deps += [ "//services/screen_ai/buildflags" ]
++ }
+
+ public_deps = [
+ ":dns_client",
+@@ -177,6 +180,7 @@ source_set("dns") {
":host_resolver_manager",
":mdns_client",
"//net:net_public_deps",
@@ -17,7 +27,7 @@
]
allow_circular_includes_from = [
-@@ -444,9 +445,9 @@ source_set("tests") {
+@@ -444,9 +448,9 @@ source_set("tests") {
if (is_android) {
sources += [ "dns_config_service_android_unittest.cc" ]