git: 834ca551d27b - 2026Q3 - devel/electron42: Update to 42.11.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 03 Sep 2026 18:43:40 UTC
The branch 2026Q3 has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=834ca551d27b9160d808e5f20168655b12061761

commit 834ca551d27b9160d808e5f20168655b12061761
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-09-03 18:33:25 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-09-03 18:43:19 +0000

    devel/electron42: Update to 42.11.1
    
    Changelog: https://github.com/electron/electron/releases/tag/v42.11.1
    
    Reported by:    GitHub (watch releases)
    MFH:            2026Q3 (includes security fixes)
    Security:       271556c1-ddbf-4d44-95e6-a731841539b2
    
    (cherry picked from commit 7b8520ff71979892f7f9ae195f5efab9780884bc)
---
 devel/electron42/Makefile.version                          |  2 +-
 devel/electron42/distinfo                                  | 14 +++++++-------
 .../patch-electron_shell_browser_api_electron__api__app.cc |  6 +++---
 ...tron_shell_common_api_electron__api__shared__texture.cc |  4 ++--
 ..._ozone_platform_wayland_host_wayland__frame__manager.cc | 12 ++++++------
 5 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/devel/electron42/Makefile.version b/devel/electron42/Makefile.version
index e2b702855447..60dfbb40ee23 100644
--- a/devel/electron42/Makefile.version
+++ b/devel/electron42/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=		42.11.0
+ELECTRON_VER=		42.11.1
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron42/distinfo b/devel/electron42/distinfo
index a1093a3bb9e6..aad0277910d5 100644
--- a/devel/electron42/distinfo
+++ b/devel/electron42/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1788158527
+TIMESTAMP = 1788419093
 SHA256 (electron/chromium-148.0.7778.280.tar.xz.0) = cddbfeba5a50d950693590399df8df3a8ef5910eee367c76aec2541444c59dea
 SIZE (electron/chromium-148.0.7778.280.tar.xz.0) = 2000000000
 SHA256 (electron/chromium-148.0.7778.280.tar.xz.1) = cd2f2c3740c05eb549878ab6c6571f7858456c2c56cf798e60ffbaf7e651429f
@@ -341,12 +341,12 @@ 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/electron42-42.11.0-node-modules-arm64.tar.xz) = 1d192bd39ea7e334470a20aaf2bb2daa5b7c11404720f3699124245b42885a0b
-SIZE (electron/electron42-42.11.0-node-modules-arm64.tar.xz) = 63424856
-SHA256 (electron/electron42-42.11.0-node-modules-x64.tar.xz) = fc5adf099f9624935944b4a90cd22a88246dc958c0248cd995e228e21f568beb
-SIZE (electron/electron42-42.11.0-node-modules-x64.tar.xz) = 71935293
-SHA256 (electron/electron-electron-v42.11.0_GH0.tar.gz) = 4c25b64a4da8e793c6bde6b4591af38175dc7068a82e0bd423bcf9c1dd5fb149
-SIZE (electron/electron-electron-v42.11.0_GH0.tar.gz) = 19972567
+SHA256 (electron/electron42-42.11.1-node-modules-arm64.tar.xz) = 1d192bd39ea7e334470a20aaf2bb2daa5b7c11404720f3699124245b42885a0b
+SIZE (electron/electron42-42.11.1-node-modules-arm64.tar.xz) = 63424856
+SHA256 (electron/electron42-42.11.1-node-modules-x64.tar.xz) = fc5adf099f9624935944b4a90cd22a88246dc958c0248cd995e228e21f568beb
+SIZE (electron/electron42-42.11.1-node-modules-x64.tar.xz) = 71935293
+SHA256 (electron/electron-electron-v42.11.1_GH0.tar.gz) = e4af20da661b863d479c9c80700da15dfda49fd98d3646b87204695061c24e20
+SIZE (electron/electron-electron-v42.11.1_GH0.tar.gz) = 20010715
 SHA256 (electron/nodejs-node-v24.19.0_GH0.tar.gz) = f06a13587eab05e24972f39628559a942a495f7140b702ce87d79454e2925bb3
 SIZE (electron/nodejs-node-v24.19.0_GH0.tar.gz) = 127452601
 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
index 483ccb350d57..a16eafe16ab9 100644
--- a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
+++ b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__app.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_app.cc.orig	2026-07-21 15:08:10 UTC
+--- electron/shell/browser/api/electron_api_app.cc.orig	2026-09-01 02:07:22 UTC
 +++ electron/shell/browser/api/electron_api_app.cc
 @@ -109,7 +109,7 @@
  #include "ui/base/resource/resource_bundle.h"
@@ -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.
-@@ -1468,7 +1468,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics
+@@ -1469,7 +1469,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);
-@@ -1974,7 +1974,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
+@@ -1975,7 +1975,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild
        .SetMethod("getJumpListSettings", &App::GetJumpListSettings)
        .SetMethod("setJumpList", &App::SetJumpList)
  #endif
diff --git a/devel/electron42/files/patch-electron_shell_common_api_electron__api__shared__texture.cc b/devel/electron42/files/patch-electron_shell_common_api_electron__api__shared__texture.cc
index c942849f7e9d..e6a16c517345 100644
--- a/devel/electron42/files/patch-electron_shell_common_api_electron__api__shared__texture.cc
+++ b/devel/electron42/files/patch-electron_shell_common_api_electron__api__shared__texture.cc
@@ -1,4 +1,4 @@
---- electron/shell/common/api/electron_api_shared_texture.cc.orig	2026-08-24 01:09:19 UTC
+--- electron/shell/common/api/electron_api_shared_texture.cc.orig	2026-09-01 02:07:22 UTC
 +++ electron/shell/common/api/electron_api_shared_texture.cc
 @@ -27,7 +27,7 @@
  #include "third_party/blink/renderer/platform/graphics/gpu/shared_gpu_context.h"  // nogncheck
@@ -27,7 +27,7 @@
      v8::Local<v8::Object> native_pixmap;
      if (shared_texture.Get("nativePixmap", &native_pixmap)) {
        gin::Dictionary v8_native_pixmap(isolate, native_pixmap);
-@@ -730,7 +730,7 @@ v8::Local<v8::Value> ImportSharedTexture(v8::Isolate* 
+@@ -734,7 +734,7 @@ v8::Local<v8::Value> ImportSharedTexture(v8::Isolate* 
    auto io_surface_scoped = base::apple::ScopedCFTypeRef<IOSurfaceRef>(
        io_surface, base::scoped_policy::RETAIN);
    gmb_handle = gfx::GpuMemoryBufferHandle(std::move(io_surface_scoped));
diff --git a/devel/electron42/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc b/devel/electron42/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
index 30c50b422d92..b7bf587b4a9d 100644
--- a/devel/electron42/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
+++ b/devel/electron42/files/patch-ui_ozone_platform_wayland_host_wayland__frame__manager.cc
@@ -1,4 +1,4 @@
---- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig	2026-04-28 21:06:17 UTC
+--- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig	2026-09-03 07:08:43 UTC
 +++ ui/ozone/platform/wayland/host/wayland_frame_manager.cc
 @@ -5,7 +5,9 @@
  #include "ui/ozone/platform/wayland/host/wayland_frame_manager.h"
@@ -10,7 +10,7 @@
  
  #include <cstdint>
  #include <variant>
-@@ -463,8 +465,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
+@@ -467,8 +469,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
    surface->UpdateBufferDamageRegion(
        gfx::ToEnclosingRectIgnoringError(surface_damage));
  
@@ -21,7 +21,7 @@
  
    bool needs_commit = false;
  
-@@ -496,6 +500,9 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
+@@ -500,6 +504,9 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
        case WaylandBufferHandle::SyncMethod::kNone:
          break;
        case WaylandBufferHandle::SyncMethod::kSyncobj:
@@ -31,7 +31,7 @@
          surface->RequestExplicitRelease(
              base::BindOnce(&WaylandFrameManager::OnExplicitBufferRelease,
                             weak_factory_.GetWeakPtr(), surface));
-@@ -503,6 +510,9 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
+@@ -507,6 +514,9 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
        case WaylandBufferHandle::SyncMethod::kDMAFence:
          [[fallthrough]];
        case WaylandBufferHandle::SyncMethod::kImplicit:
@@ -41,7 +41,7 @@
          buffer_handle->set_buffer_released_callback(
              base::BindOnce(&WaylandFrameManager::OnWlBufferRelease,
                             weak_factory_.GetWeakPtr(), surface),
-@@ -737,8 +747,10 @@ void WaylandFrameManager::OnExplicitBufferRelease(Wayl
+@@ -741,8 +751,10 @@ void WaylandFrameManager::OnExplicitBufferRelease(Wayl
  
        if (fence.is_valid()) {
          if (frame->merged_release_fence_fd.is_valid()) {
@@ -52,7 +52,7 @@
          } else {
            frame->merged_release_fence_fd = std::move(fence);
          }
-@@ -776,8 +788,10 @@ void WaylandFrameManager::OnWlBufferRelease(WaylandSur
+@@ -780,8 +792,10 @@ void WaylandFrameManager::OnWlBufferRelease(WaylandSur
  
          if (fence.is_valid()) {
            if (frame->merged_release_fence_fd.is_valid()) {