git: 402db7dcd890 - main - devel/electron41: Update to 41.10.4

Hiroki Tagato <[email protected]> Thu, 06 Aug 2026 03:06:57 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=402db7dcd890b4a92799cfdf2796b5337bbcdfe5

commit 402db7dcd890b4a92799cfdf2796b5337bbcdfe5
Author:     Hiroki Tagato <[email protected]>
AuthorDate: 2026-08-06 03:06:02 +0000
Commit:     Hiroki Tagato <[email protected]>
CommitDate: 2026-08-06 03:06:51 +0000

    devel/electron41: Update to 41.10.4
    
    Changelog: https://github.com/electron/electron/releases/tag/v41.10.4
    
    Reported by:    GitHub (watch releases)
---
 devel/electron41/Makefile.version                        |  2 +-
 devel/electron41/distinfo                                | 10 +++++-----
 ...ron_shell_browser_api_electron__api__web__contents.cc | 16 ++++++++--------
 .../files/patch-electron_spec_api-protocol-spec.ts       |  4 ++--
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/devel/electron41/Makefile.version b/devel/electron41/Makefile.version
index 30d318c85b0c..cb09882d4aac 100644
--- a/devel/electron41/Makefile.version
+++ b/devel/electron41/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=		41.10.3
+ELECTRON_VER=		41.10.4
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron41/distinfo b/devel/electron41/distinfo
index fa4775c80b90..49378f845d24 100644
--- a/devel/electron41/distinfo
+++ b/devel/electron41/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1784784967
+TIMESTAMP = 1785900900
 SHA256 (electron/chromium-146.0.7680.216.tar.xz.0) = 975c7b752e7b89c72b6e85f458db893c84bf3de42b7eb954bea2b6fda8e9786b
 SIZE (electron/chromium-146.0.7680.216.tar.xz.0) = 2000000000
 SHA256 (electron/chromium-146.0.7680.216.tar.xz.1) = 35b9287cf3cdefcf443f5b6e96198a82de7d89b8f33b6784f74ab85957f56f01
@@ -341,10 +341,10 @@ SHA256 (electron/rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4
 SIZE (electron/rust/crates/zerocopy-derive-0.7.35.crate) = 37829
 SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c
 SIZE (electron/yarn-4.12.0.tgz) = 1056794
-SHA256 (electron/electron41-41.10.3-node-modules.tar.xz) = 3cf919ce7175a104edcafc343b4e4b32298192e04b0ecab4018ad4a1d33b8df7
-SIZE (electron/electron41-41.10.3-node-modules.tar.xz) = 71204318
-SHA256 (electron/electron-electron-v41.10.3_GH0.tar.gz) = 958e9314466c278092109a4630be173cfac5dce318b22d50b4c55ef55937c9b6
-SIZE (electron/electron-electron-v41.10.3_GH0.tar.gz) = 19211718
+SHA256 (electron/electron41-41.10.4-node-modules.tar.xz) = 3cf919ce7175a104edcafc343b4e4b32298192e04b0ecab4018ad4a1d33b8df7
+SIZE (electron/electron41-41.10.4-node-modules.tar.xz) = 71204318
+SHA256 (electron/electron-electron-v41.10.4_GH0.tar.gz) = d1dff844cc3027f6ce49abc5d9bb757693c16feb58e7d0c450423c2188e15f77
+SIZE (electron/electron-electron-v41.10.4_GH0.tar.gz) = 19213745
 SHA256 (electron/nodejs-node-v24.18.0_GH0.tar.gz) = e07dd419efe30a89b90d872a956d074f4197fd103781bc06e0fce99d0130ad01
 SIZE (electron/nodejs-node-v24.18.0_GH0.tar.gz) = 127522062
 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron41/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index ede7c55f22c2..98cb86425eb6 100644
--- a/devel/electron41/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.cc.orig	2026-07-20 10:13:43 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig	2026-07-29 06:07:17 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.cc
-@@ -167,11 +167,11 @@
+@@ -168,11 +168,11 @@
  #include "ui/base/cocoa/defaults_utils.h"
  #endif
  
@@ -14,7 +14,7 @@
  #include "ui/aura/window.h"
  #include "ui/gfx/font_render_params.h"
  #endif
-@@ -203,7 +203,7 @@
+@@ -204,7 +204,7 @@
  #include "content/public/browser/plugin_service.h"
  #endif
  
@@ -23,7 +23,7 @@
  #include "chrome/browser/hang_monitor/hang_crash_dump.h"  // nogncheck
  #endif
  
-@@ -640,7 +640,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
+@@ -641,7 +641,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
        ui::TextInsertionCaretBlinkPeriodFromDefaults());
    if (system_value)
      return *system_value;
@@ -32,7 +32,7 @@
    if (auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi())
      return native_theme->caret_blink_interval();
  #elif BUILDFLAG(IS_WIN)
-@@ -1013,7 +1013,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -1024,7 +1024,7 @@ void WebContents::InitWithSessionAndOptions(
    accept_languages.pop_back();
    prefs->accept_languages = accept_languages;
  
@@ -41,7 +41,7 @@
    // Update font settings.
    static const gfx::FontRenderParams params(
        gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -2882,13 +2882,13 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2912,13 +2912,13 @@ void WebContents::ForcefullyCrashRenderer() {
  
    content::RenderProcessHost* rph = rwh->GetProcess();
    if (rph) {
@@ -57,7 +57,7 @@
      CrashDumpHungChildProcess(rph->GetProcess().Handle());
  #endif
      rph->Shutdown(content::RESULT_CODE_HUNG);
-@@ -3598,7 +3598,7 @@ void WebContents::Focus() {
+@@ -3628,7 +3628,7 @@ void WebContents::Focus() {
  void WebContents::Focus() {
    // Focusing on WebContents does not automatically focus the window on macOS
    // and Linux, do it manually to match the behavior on Windows.
@@ -66,7 +66,7 @@
    if (owner_window())
      owner_window()->Focus(true);
  #endif
-@@ -4495,7 +4495,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -4525,7 +4525,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif
  
diff --git a/devel/electron41/files/patch-electron_spec_api-protocol-spec.ts b/devel/electron41/files/patch-electron_spec_api-protocol-spec.ts
index d4185453c8a2..0946637ce774 100644
--- a/devel/electron41/files/patch-electron_spec_api-protocol-spec.ts
+++ b/devel/electron41/files/patch-electron_spec_api-protocol-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/api-protocol-spec.ts.orig	2026-06-29 04:13:32 UTC
+--- electron/spec/api-protocol-spec.ts.orig	2026-07-29 06:07:17 UTC
 +++ electron/spec/api-protocol-spec.ts
-@@ -2095,7 +2095,7 @@ describe('protocol module', () => {
+@@ -2178,7 +2178,7 @@ describe('protocol module', () => {
  
      // TODO(nornagon): this test doesn't pass on Linux currently, investigate.
      // test is also flaky on CI on macOS so it is currently disabled there as well.