git: c3dd65404e10 - main - devel/electron21: update to 21.4.2

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 26 Feb 2023 00:54:38 UTC
The branch main has been updated by tagattie:

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

commit c3dd65404e108ffcc60527badeab4f7fc895a5c9
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-02-26 00:53:17 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-02-26 00:54:23 +0000

    devel/electron21: update to 21.4.2
    
    Changelog: https://github.com/electron/electron/releases/tag/v21.4.2
---
 devel/electron21/Makefile                                      |  2 +-
 devel/electron21/Makefile.version                              |  2 +-
 devel/electron21/distinfo                                      | 10 +++++-----
 .../files/patch-electron_shell_common_node__bindings.cc        |  8 ++++----
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/devel/electron21/Makefile b/devel/electron21/Makefile
index a338ddfd9c3d..d216cfd5873e 100644
--- a/devel/electron21/Makefile
+++ b/devel/electron21/Makefile
@@ -155,7 +155,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1675758581
+YARN_TIMESTAMP=	1677213472
 
 GN_ARGS+=		clang_use_chrome_plugins=false \
 			enable_hangout_services_extension=true \
diff --git a/devel/electron21/Makefile.version b/devel/electron21/Makefile.version
index b0a6b33361c9..f827047be1c7 100644
--- a/devel/electron21/Makefile.version
+++ b/devel/electron21/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	21.4.1
+ELECTRON_VER=	21.4.2
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron21/distinfo b/devel/electron21/distinfo
index b4759abc666e..bbc1d611a990 100644
--- a/devel/electron21/distinfo
+++ b/devel/electron21/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1675759344
+TIMESTAMP = 1677213801
 SHA256 (electron/chromium-106.0.5249.199.tar.xz) = 2f39a6b570f2abb41e9c642cb054144796d1ab0096be6b44d3c59e20252c9318
 SIZE (electron/chromium-106.0.5249.199.tar.xz) = 1458418844
 SHA256 (electron/80c023f0deb4d0ff28b42c4848257d26b7207725) = 57c83bdd82a021d319eb520c3743e962056b7d184077192aa565cf8aef5ba54d
 SIZE (electron/80c023f0deb4d0ff28b42c4848257d26b7207725) = 12142959
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-21.4.1.tar.xz) = daff6e63c89bee43eb4a71414371d805c345f64dfc9983d185f2044d0a1c728f
-SIZE (electron/electron-yarn-cache-21.4.1.tar.xz) = 39021344
-SHA256 (electron/electron-electron-v21.4.1_GH0.tar.gz) = 3358f0276134c7636a88225efe6666ee35fb1557aa0fc391b66a78127630608a
-SIZE (electron/electron-electron-v21.4.1_GH0.tar.gz) = 10561914
+SHA256 (electron/electron-yarn-cache-21.4.2.tar.xz) = cd08995d0df10aae7cfa6ebe4c4a46c18935ba156c9aed62aafa410bfcf94b68
+SIZE (electron/electron-yarn-cache-21.4.2.tar.xz) = 39023220
+SHA256 (electron/electron-electron-v21.4.2_GH0.tar.gz) = cbf3f8ac8bda5eed91805c9f7a8573be21b98b3114df4734f93502c26e4b3488
+SIZE (electron/electron-electron-v21.4.2_GH0.tar.gz) = 10565173
 SHA256 (electron/nodejs-node-v16.16.0_GH0.tar.gz) = e86cb6b24c38f7fbdbfe7722ed3207b041d923e38dbeedf20fe9baa59c29e907
 SIZE (electron/nodejs-node-v16.16.0_GH0.tar.gz) = 89632384
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron21/files/patch-electron_shell_common_node__bindings.cc b/devel/electron21/files/patch-electron_shell_common_node__bindings.cc
index ed53c302ea8e..01ac9ddebe85 100644
--- a/devel/electron21/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron21/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig	2023-01-24 08:00:52 UTC
+--- electron/shell/common/node_bindings.cc.orig	2023-02-21 10:45:14 UTC
 +++ electron/shell/common/node_bindings.cc
-@@ -39,7 +39,7 @@
+@@ -40,7 +40,7 @@
  #include "third_party/blink/renderer/bindings/core/v8/v8_initializer.h"  // nogncheck
  #include "third_party/electron_node/src/debug_utils.h"
  
@@ -9,7 +9,7 @@
  #include "shell/common/crash_keys.h"
  #endif
  
-@@ -145,7 +145,7 @@ bool g_is_initialized = false;
+@@ -152,7 +152,7 @@ bool g_is_initialized = false;
  void V8FatalErrorCallback(const char* location, const char* message) {
    LOG(ERROR) << "Fatal error in V8: " << location << " " << message;
  
@@ -18,7 +18,7 @@
    electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
    electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
  #endif
-@@ -372,7 +372,7 @@ void NodeBindings::Initialize() {
+@@ -388,7 +388,7 @@ void NodeBindings::Initialize() {
    TRACE_EVENT0("electron", "NodeBindings::Initialize");
    // Open node's error reporting system for browser process.