git: c131530b08a7 - main - devel/electron22: update to 22.3.8

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 05 May 2023 02:19:03 UTC
The branch main has been updated by tagattie:

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

commit c131530b08a7524c20a46eda16509b831660d0ef
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-05-05 02:17:05 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-05-05 02:18:49 +0000

    devel/electron22: update to 22.3.8
    
    Changelog: https://github.com/electron/electron/releases/tag/v22.3.8
    
    Reported by:    GitHub (watch releases)
---
 devel/electron22/Makefile                                    |  3 +--
 devel/electron22/Makefile.version                            |  2 +-
 devel/electron22/distinfo                                    | 10 +++++-----
 .../patch-electron_shell_app_electron__main__delegate.cc     | 12 ++++++------
 .../files/patch-electron_shell_common_node__bindings.cc      |  4 ++--
 5 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/devel/electron22/Makefile b/devel/electron22/Makefile
index e3c9a8d5862f..192a317cc3e6 100644
--- a/devel/electron22/Makefile
+++ b/devel/electron22/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
-PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v22.2.0/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
@@ -222,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1682663940
+YARN_TIMESTAMP=	1683167496
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk> # required for COMPILER_VERSION
diff --git a/devel/electron22/Makefile.version b/devel/electron22/Makefile.version
index 629fd61eab16..9377eba3ac77 100644
--- a/devel/electron22/Makefile.version
+++ b/devel/electron22/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	22.3.7
+ELECTRON_VER=	22.3.8
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron22/distinfo b/devel/electron22/distinfo
index 4ddfcdfdd4f6..4a68f173d52e 100644
--- a/devel/electron22/distinfo
+++ b/devel/electron22/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1682664964
+TIMESTAMP = 1683168476
 SHA256 (electron/chromium-108.0.5359.215.tar.xz) = aba0730b347269efda217affe804f6fced296aa02f810c8c9a6fd7d46cd7bf9a
 SIZE (electron/chromium-108.0.5359.215.tar.xz) = 1584734880
 SHA256 (electron/f8b5da24d33317766d3933fb6711b0603fc4fb6f) = 63706737ca75e0e5c97885186b2a7ab019ca71d1315ee08870193bbfa7486bfc
 SIZE (electron/f8b5da24d33317766d3933fb6711b0603fc4fb6f) = 9900677
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-22.3.7.tar.xz) = 7103735f1e82d32af8cc57f258f13e0af8e69732d47a42aeca27a97933c7038d
-SIZE (electron/electron-yarn-cache-22.3.7.tar.xz) = 38905036
-SHA256 (electron/electron-electron-v22.3.7_GH0.tar.gz) = 8ac137bc3c82342547bbea55da9f841a3441c5b8b0a42291fb88794c058bb3f0
-SIZE (electron/electron-electron-v22.3.7_GH0.tar.gz) = 10592235
+SHA256 (electron/electron-yarn-cache-22.3.8.tar.xz) = a82216048f58dc87aa0b44f6b44eb5d47ec7da8ca8b4238b3db2667612f9c876
+SIZE (electron/electron-yarn-cache-22.3.8.tar.xz) = 38900968
+SHA256 (electron/electron-electron-v22.3.8_GH0.tar.gz) = e989797ce67fce23c4a7f7aaf3c71dd1937581c59f44d4bc7ab9f2dfa21da527
+SIZE (electron/electron-electron-v22.3.8_GH0.tar.gz) = 10592332
 SHA256 (electron/nodejs-node-v16.17.1_GH0.tar.gz) = e63378aa6aa18b9e05486e46eaca6c6e09904366e5100d7e04c6dbd344a42f60
 SIZE (electron/nodejs-node-v16.17.1_GH0.tar.gz) = 90485310
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron22/files/patch-electron_shell_app_electron__main__delegate.cc b/devel/electron22/files/patch-electron_shell_app_electron__main__delegate.cc
index 5c44c38ba3d1..01afc877c83f 100644
--- a/devel/electron22/files/patch-electron_shell_app_electron__main__delegate.cc
+++ b/devel/electron22/files/patch-electron_shell_app_electron__main__delegate.cc
@@ -1,6 +1,6 @@
---- electron/shell/app/electron_main_delegate.cc.orig	2023-01-24 16:58:16 UTC
+--- electron/shell/app/electron_main_delegate.cc.orig	2023-05-03 07:56:25 UTC
 +++ electron/shell/app/electron_main_delegate.cc
-@@ -56,13 +56,16 @@
+@@ -57,13 +57,16 @@
  #include "chrome/child/v8_crashpad_support_win.h"
  #endif
  
@@ -19,7 +19,7 @@
  #include "components/crash/core/app/crash_switches.h"  // nogncheck
  #include "components/crash/core/app/crashpad.h"        // nogncheck
  #include "components/crash/core/common/crash_key.h"
-@@ -159,7 +162,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
+@@ -155,7 +158,7 @@ bool ElectronPathProvider(int key, base::FilePath* res
        create_dir = true;
        break;
      }
@@ -28,7 +28,7 @@
      case DIR_APP_DATA: {
        auto env = base::Environment::Create();
        cur = base::nix::GetXDGDirectory(
-@@ -293,7 +296,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
+@@ -287,7 +290,7 @@ absl::optional<int> ElectronMainDelegate::BasicStartup
      base::win::PinUser32();
  #endif
  
@@ -37,7 +37,7 @@
    // Check for --no-sandbox parameter when running as root.
    if (getuid() == 0 && IsSandboxEnabled(command_line))
      LOG(FATAL) << "Running as root without --"
-@@ -345,7 +348,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -339,7 +342,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
                                     process_type == ::switches::kZygoteProcess);
  #endif
  
@@ -46,7 +46,7 @@
    crash_reporter::InitializeCrashKeys();
  #endif
  
-@@ -380,7 +383,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
+@@ -374,7 +377,7 @@ void ElectronMainDelegate::PreSandboxStartup() {
    }
  #endif
  
diff --git a/devel/electron22/files/patch-electron_shell_common_node__bindings.cc b/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
index 8caafc529d9f..0e76e7a5b8e1 100644
--- a/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
@@ -1,4 +1,4 @@
---- electron/shell/common/node_bindings.cc.orig	2023-04-13 06:10:54 UTC
+--- electron/shell/common/node_bindings.cc.orig	2023-05-03 07:56:25 UTC
 +++ electron/shell/common/node_bindings.cc
 @@ -40,7 +40,7 @@
  #include "third_party/blink/renderer/bindings/core/v8/v8_initializer.h"  // nogncheck
@@ -18,7 +18,7 @@
    electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
    electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
  #endif
-@@ -429,7 +429,7 @@ void NodeBindings::Initialize() {
+@@ -428,7 +428,7 @@ void NodeBindings::Initialize() {
    TRACE_EVENT0("electron", "NodeBindings::Initialize");
    // Open node's error reporting system for browser process.