git: 43443df6d474 - main - devel/electron24: update to 24.6.5

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 27 Jul 2023 09:15:42 UTC
The branch main has been updated by tagattie:

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

commit 43443df6d4749b1bc7f0bf43692e9bfb7ff9c894
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-07-27 09:14:32 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-07-27 09:15:34 +0000

    devel/electron24: update to 24.6.5
    
    Changelog: https://github.com/electron/electron/releases/tag/v24.6.5
    
    Reported by:    GitHub (watch releases)
---
 devel/electron24/Makefile                                      |  2 +-
 devel/electron24/Makefile.version                              |  2 +-
 devel/electron24/distinfo                                      | 10 +++++-----
 .../files/patch-electron_shell_browser_native__window.cc       |  8 ++++----
 devel/electron24/files/patch-electron_spec_chromium-spec.ts    |  6 +++---
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/devel/electron24/Makefile b/devel/electron24/Makefile
index 6d7832865366..715bc9232788 100644
--- a/devel/electron24/Makefile
+++ b/devel/electron24/Makefile
@@ -221,7 +221,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1689900986
+YARN_TIMESTAMP=	1690431844
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
diff --git a/devel/electron24/Makefile.version b/devel/electron24/Makefile.version
index 0013d25518bb..25baa7598892 100644
--- a/devel/electron24/Makefile.version
+++ b/devel/electron24/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	24.6.4
+ELECTRON_VER=	24.6.5
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron24/distinfo b/devel/electron24/distinfo
index 75d81df9ed48..cad0b1fadeee 100644
--- a/devel/electron24/distinfo
+++ b/devel/electron24/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1689901389
+TIMESTAMP = 1690432279
 SHA256 (electron/chromium-112.0.5615.204.tar.xz) = 4eb23f689df9685fc4ce38fe751023ac98aab2ca21af1ee7ebe47fa5c095a09d
 SIZE (electron/chromium-112.0.5615.204.tar.xz) = 1572906744
 SHA256 (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 386332ab89cbe19c427a3febcf2e93ee89a3007243da3e3e466823f50d00eba5
 SIZE (electron/a98dcca3c46a718770b2cb3430785ea4ed7e3f09) = 9822544
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-24.6.4.tar.xz) = f6abab7c855cca721f775bceca96b5089d4be5ffca826b6d041626b86abcc845
-SIZE (electron/electron-yarn-cache-24.6.4.tar.xz) = 41635676
-SHA256 (electron/electron-electron-v24.6.4_GH0.tar.gz) = e1666cd2fea0b6678da836c50871d37cbb677dd2a83a6581c8353b04f6447944
-SIZE (electron/electron-electron-v24.6.4_GH0.tar.gz) = 10498511
+SHA256 (electron/electron-yarn-cache-24.6.5.tar.xz) = ed619b22ff229f079064e33536bc712ed2be0bf31cbfb646f40acbcf68a65520
+SIZE (electron/electron-yarn-cache-24.6.5.tar.xz) = 41637136
+SHA256 (electron/electron-electron-v24.6.5_GH0.tar.gz) = 8a91ddd2ce8b040732aa062e35b9af34741c90cef64b8af3374c5831208d91e6
+SIZE (electron/electron-electron-v24.6.5_GH0.tar.gz) = 10498761
 SHA256 (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 31bbccdff73269baebcc9f32c2ffe428f28be79841527c63e95da93e8c630829
 SIZE (electron/nodejs-node-v18.14.0_GH0.tar.gz) = 113058999
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39
diff --git a/devel/electron24/files/patch-electron_shell_browser_native__window.cc b/devel/electron24/files/patch-electron_shell_browser_native__window.cc
index aafe256dca8d..b73f2c99667a 100644
--- a/devel/electron24/files/patch-electron_shell_browser_native__window.cc
+++ b/devel/electron24/files/patch-electron_shell_browser_native__window.cc
@@ -1,4 +1,4 @@
---- electron/shell/browser/native_window.cc.orig	2023-06-27 15:34:12 UTC
+--- electron/shell/browser/native_window.cc.orig	2023-07-26 12:12:20 UTC
 +++ electron/shell/browser/native_window.cc
 @@ -197,7 +197,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D
    } else {
@@ -6,6 +6,6 @@
    }
 -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
 +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
-   bool resizable;
-   if (options.Get(options::kResizable, &resizable)) {
-     SetResizable(resizable);
+   bool closable;
+   if (options.Get(options::kClosable, &closable)) {
+     SetClosable(closable);
diff --git a/devel/electron24/files/patch-electron_spec_chromium-spec.ts b/devel/electron24/files/patch-electron_spec_chromium-spec.ts
index 257ddc7cda29..b957bf83e221 100644
--- a/devel/electron24/files/patch-electron_spec_chromium-spec.ts
+++ b/devel/electron24/files/patch-electron_spec_chromium-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/chromium-spec.ts.orig	2023-07-19 08:56:32 UTC
+--- electron/spec/chromium-spec.ts.orig	2023-07-26 12:12:20 UTC
 +++ electron/spec/chromium-spec.ts
 @@ -473,13 +473,13 @@ describe('command line switches', () => {
      it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`));
@@ -18,7 +18,7 @@
    });
  
    describe('--remote-debugging-pipe switch', () => {
-@@ -2330,12 +2330,12 @@ describe('font fallback', () => {
+@@ -2418,12 +2418,12 @@ describe('font fallback', () => {
        expect(fonts[0].familyName).to.equal('Arial');
      } else if (process.platform === 'darwin') {
        expect(fonts[0].familyName).to.equal('Helvetica');
@@ -33,7 +33,7 @@
      const html = `
      <html lang="ja-JP">
        <head>
-@@ -2730,7 +2730,7 @@ describe('navigator.clipboard.write', () => {
+@@ -2818,7 +2818,7 @@ describe('navigator.clipboard.write', () => {
    });
  });