git: 601ee778fe0f - main - www/qt5-webengine: Fix build with ninja 1.12.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Wed, 15 May 2024 04:18:28 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=601ee778fe0f8cf0fba8685757a7afca63c37691

commit 601ee778fe0f8cf0fba8685757a7afca63c37691
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-05-11 04:03:51 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-05-15 04:16:11 +0000

    www/qt5-webengine: 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
---
 ...-src_3rdparty_chromium_content_browser_BUILD.gn | 32 ++++++++++++++++------
 1 file changed, 24 insertions(+), 8 deletions(-)

diff --git a/www/qt5-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn b/www/qt5-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn
index f30e7619d0fe..f46db9015e19 100644
--- a/www/qt5-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn
+++ b/www/qt5-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn
@@ -1,9 +1,27 @@
---- src/3rdparty/chromium/content/browser/BUILD.gn.orig	2021-12-15 16:12:54 UTC
+--- src/3rdparty/chromium/content/browser/BUILD.gn.orig	2024-03-26 14:47:34 UTC
 +++ src/3rdparty/chromium/content/browser/BUILD.gn
-@@ -2090,6 +2090,15 @@ jumbo_static_library("browser") {
+@@ -9,6 +9,7 @@ import("//chromeos/assistant/assistant.gni")
+ import("//build/config/linux/pangocairo/pangocairo.gni")
+ import("//build/config/ui.gni")
+ import("//chromeos/assistant/assistant.gni")
++import("//components/spellcheck/spellcheck_build_features.gni")
+ import("//components/ui_devtools/devtools.gni")
+ import("//content/common/features.gni")
+ import("//content/public/common/zygote/features.gni")
+@@ -166,6 +167,7 @@ jumbo_static_library("browser") {
+     "//components/services/storage/dom_storage:local_storage_proto",
+     "//components/services/storage/public/cpp",
+     "//components/services/storage/public/mojom",
++    "//components/spellcheck:buildflags",
+     "//components/system_media_controls",
+     "//components/tracing:startup_tracing",
+     "//components/ui_devtools",
+@@ -2088,6 +2090,15 @@ jumbo_static_library("browser") {
+   if (is_desktop_linux && enable_web_speech) {
+     sources += [ "speech/tts_linux.cc" ]
      deps += [ "//third_party/speech-dispatcher" ]
-   }
- 
++  }
++
 +  if (is_bsd) {
 +    sources -= [
 +      "sandbox_host_linux.cc",
@@ -11,8 +29,6 @@
 +      "sandbox_ipc_linux.cc",
 +      "sandbox_ipc_linux.h",
 +    ]
-+  }
-+
+   }
+ 
    # ChromeOS also defines linux but their memory-monitors conflict.
-   if (is_chromeos) {
-     sources += [