git: 523bb16432aa - main - devel/electron22: update to 22.2.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 10:56:13 UTC
The branch main has been updated by tagattie:

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

commit 523bb16432aa57536536ba0ac54687718e011e02
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-02-10 10:54:54 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-02-10 10:56:01 +0000

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

diff --git a/devel/electron22/Makefile b/devel/electron22/Makefile
index f64d1f06852f..a50b24e6c440 100644
--- a/devel/electron22/Makefile
+++ b/devel/electron22/Makefile
@@ -221,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1675635699
+YARN_TIMESTAMP=	1675974448
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron22/Makefile.version b/devel/electron22/Makefile.version
index 24747aebc490..bd1acdd4822b 100644
--- a/devel/electron22/Makefile.version
+++ b/devel/electron22/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	22.2.0
+ELECTRON_VER=	22.2.1
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron22/distinfo b/devel/electron22/distinfo
index ed905234a6ca..d0f70fdcd1c1 100644
--- a/devel/electron22/distinfo
+++ b/devel/electron22/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1675641452
+TIMESTAMP = 1675975127
 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.2.0.tar.xz) = 3c6787e8db3f8e10d0107fefed0e54411b9f70b38e0fe333b270f51e5f8d3776
-SIZE (electron/electron-yarn-cache-22.2.0.tar.xz) = 38468224
-SHA256 (electron/electron-electron-v22.2.0_GH0.tar.gz) = 3d5c2e5f893b390770421944a78018b337ce247ac13366ddcf6025540705ba4f
-SIZE (electron/electron-electron-v22.2.0_GH0.tar.gz) = 10513710
+SHA256 (electron/electron-yarn-cache-22.2.1.tar.xz) = a09db32c650e4511bd53c28ad120d7495d63b9323e246e333ffdba0df4517912
+SIZE (electron/electron-yarn-cache-22.2.1.tar.xz) = 38469032
+SHA256 (electron/electron-electron-v22.2.1_GH0.tar.gz) = c6360b17075da9a98e0c293ac3fe9ffa31db48cc1b5dae5fcdb40bfd7a4513dd
+SIZE (electron/electron-electron-v22.2.1_GH0.tar.gz) = 10515416
 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_common_node__bindings.cc b/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
index 53e80483fb65..5b88fe147505 100644
--- a/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron22/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig	2023-01-24 16:58:16 UTC
+--- electron/shell/common/node_bindings.cc.orig	2023-02-08 13:34:58 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
  
-@@ -148,7 +148,7 @@ bool g_is_initialized = false;
+@@ -157,7 +157,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
-@@ -391,7 +391,7 @@ void NodeBindings::Initialize() {
+@@ -412,7 +412,7 @@ void NodeBindings::Initialize() {
    TRACE_EVENT0("electron", "NodeBindings::Initialize");
    // Open node's error reporting system for browser process.