git: 68285d95b55e - main - devel/electron41: Update to 41.10.3

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 25 Jul 2026 07:27:47 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68285d95b55e85499527a409fc1d58c560f975fe

commit 68285d95b55e85499527a409fc1d58c560f975fe
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-07-25 07:26:42 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-07-25 07:27:41 +0000

    devel/electron41: Update to 41.10.3
    
    Changelog: https://github.com/electron/electron/releases/tag/v41.10.3
    
    Reported by:    GitHub (watch releases)
---
 devel/electron41/Makefile                              |  1 -
 devel/electron41/Makefile.version                      |  2 +-
 devel/electron41/distinfo                              | 10 +++++-----
 ...ch-electron_shell_browser_api_electron__api__app.cc | 18 +++++++++---------
 ...n_shell_browser_api_electron__api__web__contents.cc | 16 ++++++++--------
 5 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/devel/electron41/Makefile b/devel/electron41/Makefile
index 81a64e95c77d..e4eda8536c56 100644
--- a/devel/electron41/Makefile
+++ b/devel/electron41/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER}
-PORTREVISION=	1
 PULSEMV=	16
 PULSEV=		${PULSEMV}.1
 CATEGORIES=	devel
diff --git a/devel/electron41/Makefile.version b/devel/electron41/Makefile.version
index 7edc5eecce50..30d318c85b0c 100644
--- a/devel/electron41/Makefile.version
+++ b/devel/electron41/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=		41.10.2
+ELECTRON_VER=		41.10.3
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron41/distinfo b/devel/electron41/distinfo
index 1e2bed5e950a..fa4775c80b90 100644
--- a/devel/electron41/distinfo
+++ b/devel/electron41/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1784151684
+TIMESTAMP = 1784784967
 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.2-node-modules.tar.xz) = 3cf919ce7175a104edcafc343b4e4b32298192e04b0ecab4018ad4a1d33b8df7
-SIZE (electron/electron41-41.10.2-node-modules.tar.xz) = 71204318
-SHA256 (electron/electron-electron-v41.10.2_GH0.tar.gz) = 713eb9f0e3f7b6f7aef9ed57bd45acf689c0293a21e9af5a9dca7bc24fa55188
-SIZE (electron/electron-electron-v41.10.2_GH0.tar.gz) = 19196631
+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/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__app.cc b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
index 8177e2fed3ea..1138dc5c857b 100644
--- a/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron41/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_app.cc.orig	2026-05-14 05:52:47 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig	2026-07-20 10:13:43 UTC
 +++ electron/shell/browser/api/electron_api_app.cc
-@@ -105,7 +105,7 @@
+@@ -106,7 +106,7 @@
  #include "ui/base/resource/resource_bundle.h"
  #endif
  
@@ -9,7 +9,7 @@
  #include "base/nix/scoped_xdg_activation_token_injector.h"
  #include "base/nix/xdg_util.h"
  #endif
-@@ -433,7 +433,7 @@ bool NotificationCallbackWrapper(
+@@ -434,7 +434,7 @@ bool NotificationCallbackWrapper(
      base::CommandLine cmd,
      const base::FilePath& cwd,
      const std::vector<uint8_t> additional_data) {
@@ -18,7 +18,7 @@
    // Set the global activation token sent as a command line switch by another
    // electron app instance. This also removes the switch after use to prevent
    // any side effects of leaving it in the command line after this point.
-@@ -618,7 +618,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf
+@@ -619,7 +619,7 @@ void App::OnFinishLaunching(base::DictValue launch_inf
  }
  
  void App::OnFinishLaunching(base::DictValue launch_info) {
@@ -27,7 +27,7 @@
    // Set the application name for audio streams shown in external
    // applications. Only affects pulseaudio currently.
    media::AudioManager::SetGlobalAppName(Browser::Get()->GetName());
-@@ -967,7 +967,7 @@ void App::SetDesktopName(const std::string& desktop_na
+@@ -968,7 +968,7 @@ void App::SetDesktopName(const std::string& desktop_na
  }
  
  void App::SetDesktopName(const std::string& desktop_name) {
@@ -36,7 +36,7 @@
    auto env = base::Environment::Create();
    env->SetVar("CHROME_DESKTOP", desktop_name);
  #endif
-@@ -1069,7 +1069,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar
+@@ -1070,7 +1070,7 @@ bool App::RequestSingleInstanceLock(gin::Arguments* ar
        base::BindRepeating(NotificationCallbackWrapper, cb));
  #endif
  
@@ -45,7 +45,7 @@
    // Read the xdg-activation token and set it in the command line for the
    // duration of the notification in order to ensure this is propagated to an
    // already running electron app instance if it exists.
-@@ -1456,7 +1456,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1465,7 +1465,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
        pid_dict.Set("name", process_metric.second->name);
      }
  
@@ -54,7 +54,7 @@
      auto memory_info = process_metric.second->GetMemoryInfo();
  
      auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate);
-@@ -1904,7 +1904,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1913,7 +1913,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod(
            "removeAsDefaultProtocolClient",
            base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser))
@@ -63,7 +63,7 @@
        .SetMethod(
            "getApplicationInfoForProtocol",
            base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser))
-@@ -1963,7 +1963,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1972,7 +1972,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod("getJumpListSettings", &App::GetJumpListSettings)
        .SetMethod("setJumpList", &App::SetJumpList)
  #endif
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 32de48bb7706..ede7c55f22c2 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-06-16 14:53:17 UTC
+--- 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
-@@ -164,11 +164,11 @@
+@@ -167,11 +167,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
-@@ -200,7 +200,7 @@
+@@ -203,7 +203,7 @@
  #include "content/public/browser/plugin_service.h"
  #endif
  
@@ -23,7 +23,7 @@
  #include "chrome/browser/hang_monitor/hang_crash_dump.h"  // nogncheck
  #endif
  
-@@ -637,7 +637,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
+@@ -640,7 +640,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)
-@@ -1010,7 +1010,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -1013,7 +1013,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));
-@@ -2859,13 +2859,13 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2882,13 +2882,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);
-@@ -3575,7 +3575,7 @@ void WebContents::Focus() {
+@@ -3598,7 +3598,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
-@@ -4472,7 +4472,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -4495,7 +4495,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif