git: 68e973150af5 - main - devel/electron18: update to 18.3.9

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 21 Aug 2022 07:08:09 UTC
The branch main has been updated by tagattie:

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

commit 68e973150af53f185f6f75ec89e7d3fedb0b9dad
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2022-08-21 07:06:47 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2022-08-21 07:08:01 +0000

    devel/electron18: update to 18.3.9
    
    Changelog: https://github.com/electron/electron/releases/tag/v18.3.9
---
 devel/electron18/Makefile                                    |  2 +-
 devel/electron18/Makefile.version                            |  2 +-
 devel/electron18/distinfo                                    | 10 +++++-----
 devel/electron18/files/package.json                          |  2 +-
 ...lectron_shell_browser_api_electron__api__web__contents.cc | 12 ++++++------
 .../files/patch-electron_shell_common_node__bindings.cc      |  6 +++---
 editors/vscode/Makefile                                      |  1 +
 7 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/devel/electron18/Makefile b/devel/electron18/Makefile
index f7e3e03e9364..6e9dc72702ae 100644
--- a/devel/electron18/Makefile
+++ b/devel/electron18/Makefile
@@ -152,7 +152,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1660370296
+YARN_TIMESTAMP=	1660898656
 
 GN_ARGS+=		clang_use_chrome_plugins=false \
 			enable_hangout_services_extension=true \
diff --git a/devel/electron18/Makefile.version b/devel/electron18/Makefile.version
index ab1041d01d06..0b4e89c56a36 100644
--- a/devel/electron18/Makefile.version
+++ b/devel/electron18/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	18.3.8
+ELECTRON_VER=	18.3.9
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron18/distinfo b/devel/electron18/distinfo
index 91fdcd947dc1..ccf15f7937e6 100644
--- a/devel/electron18/distinfo
+++ b/devel/electron18/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1660372113
+TIMESTAMP = 1660898874
 SHA256 (electron/chromium-100.0.4896.160.tar.xz) = a3f755dff069c6fae3eb7f07b33c0dd3f0762fa82959f41c7bd347da8efbacff
 SIZE (electron/chromium-100.0.4896.160.tar.xz) = 1228994280
 SHA256 (electron/aad6877c8cd3cff0ef1ba628d71acc981c520c29) = 9793d0cfb94bf2ff099682dcd31ef46d1d7f42346c8a2f6355a5f8fda3dcd506
 SIZE (electron/aad6877c8cd3cff0ef1ba628d71acc981c520c29) = 12028653
 SHA256 (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
 SIZE (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = 26759650
-SHA256 (electron/electron-yarn-cache-18.3.8.tar.xz) = 17364f44fddeeecc11a3e685e70116f44db54fe8242583b3935a1131433dacc8
-SIZE (electron/electron-yarn-cache-18.3.8.tar.xz) = 38391168
-SHA256 (electron/electron-electron-v18.3.8_GH0.tar.gz) = 2ad2c482113144b2fbca16f72cd4873e2908084f249f596754d7ef0ab5b7ca8c
-SIZE (electron/electron-electron-v18.3.8_GH0.tar.gz) = 10575281
+SHA256 (electron/electron-yarn-cache-18.3.9.tar.xz) = da6158bce0c1a5d00f259bd20cc49e56949f016a453b8164ec33958306e6c2f2
+SIZE (electron/electron-yarn-cache-18.3.9.tar.xz) = 38391424
+SHA256 (electron/electron-electron-v18.3.9_GH0.tar.gz) = f66cfab41b556d19cc0623de0d40ebb7821a529942fe31962bd8c50b797fd7d0
+SIZE (electron/electron-electron-v18.3.9_GH0.tar.gz) = 10582567
 SHA256 (electron/nodejs-node-v16.13.2_GH0.tar.gz) = 93c65be15bfe8151b4a99d529538b23ffc6b5e0202dc7df0e32aa780ab49ad97
 SIZE (electron/nodejs-node-v16.13.2_GH0.tar.gz) = 87972240
 SHA256 (electron/nodejs-nan-65b32af46e9d7fab2e4ff657751205b3865f4920_GH0.tar.gz) = a649b75bfa9c1a0254c73d022c6e98924b9471f593bcc83832daaf68da4cae8d
diff --git a/devel/electron18/files/package.json b/devel/electron18/files/package.json
index 2e1f56965ed6..d0df896375a6 100644
--- a/devel/electron18/files/package.json
+++ b/devel/electron18/files/package.json
@@ -1,6 +1,6 @@
 {
   "name": "electron",
-  "version": "18.3.8",
+  "version": "18.3.9",
   "repository": "https://github.com/electron/electron",
   "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
   "devDependencies": {
diff --git a/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index a92dfcdc2307..55c2126566de 100644
--- a/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron18/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/api/electron_api_web_contents.cc.orig	2022-08-03 15:32:21 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig	2022-08-17 15:34:27 UTC
 +++ electron/shell/browser/api/electron_api_web_contents.cc
 @@ -150,11 +150,11 @@
  #include "ui/base/cocoa/defaults_utils.h"
@@ -14,7 +14,7 @@
  #include "ui/gfx/font_render_params.h"
  #endif
  
-@@ -395,7 +395,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
+@@ -396,7 +396,7 @@ absl::optional<base::TimeDelta> GetCursorBlinkInterval
        ui::TextInsertionCaretBlinkPeriodFromDefaults());
    if (system_value)
      return *system_value;
@@ -23,7 +23,7 @@
    if (auto* linux_ui = views::LinuxUI::instance())
      return linux_ui->GetCursorBlinkInterval();
  #elif BUILDFLAG(IS_WIN)
-@@ -832,7 +832,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -833,7 +833,7 @@ void WebContents::InitWithSessionAndOptions(
    accept_languages.pop_back();
    prefs->accept_languages = accept_languages;
  
@@ -32,7 +32,7 @@
    // Update font settings.
    static const gfx::FontRenderParams params(
        gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -2355,7 +2355,7 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2356,7 +2356,7 @@ void WebContents::ForcefullyCrashRenderer() {
  
    content::RenderProcessHost* rph = rwh->GetProcess();
    if (rph) {
@@ -41,7 +41,7 @@
      // A generic |CrashDumpHungChildProcess()| is not implemented for Linux.
      // Instead we send an explicit IPC to crash on the renderer's IO thread.
      rph->ForceCrash();
-@@ -2935,7 +2935,7 @@ void WebContents::CopyImageAt(int x, int y) {
+@@ -2944,7 +2944,7 @@ void WebContents::CopyImageAt(int x, int y) {
  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.
@@ -50,7 +50,7 @@
    if (owner_window())
      owner_window()->Focus(true);
  #endif
-@@ -3768,7 +3768,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -3777,7 +3777,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
  }
  #endif
  
diff --git a/devel/electron18/files/patch-electron_shell_common_node__bindings.cc b/devel/electron18/files/patch-electron_shell_common_node__bindings.cc
index fe14b5234ab3..8de2e33ac3a3 100644
--- a/devel/electron18/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron18/files/patch-electron_shell_common_node__bindings.cc
@@ -1,4 +1,4 @@
---- electron/shell/common/node_bindings.cc.orig	2022-05-18 15:31:32 UTC
+--- electron/shell/common/node_bindings.cc.orig	2022-08-17 15:34:27 UTC
 +++ electron/shell/common/node_bindings.cc
 @@ -38,7 +38,7 @@
  #include "shell/common/node_includes.h"
@@ -9,7 +9,7 @@
  #include "shell/common/crash_keys.h"
  #endif
  
-@@ -142,7 +142,7 @@ bool g_is_initialized = false;
+@@ -143,7 +143,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
-@@ -367,7 +367,7 @@ void NodeBindings::Initialize() {
+@@ -368,7 +368,7 @@ void NodeBindings::Initialize() {
    // Open node's error reporting system for browser process.
    node::g_upstream_node_mode = false;
  
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index 54869b793526..d806ca5d42eb 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	vscode
 DISTVERSION=	1.70.2
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \
 		https://nodejs.org/dist/v${NODE_VER}/:node_headers \