git: 59ce05b37886 - main - editors/vscode: update to 1.88.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 08:41:45 UTC
The branch main has been updated by tagattie:

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

commit 59ce05b3788604e20ee96ab5c626f63d28a898d3
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-04-18 08:37:36 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-04-18 08:41:35 +0000

    editors/vscode: update to 1.88.1
    
    While here, add a patch to fix build with node 18.20.x.
    
    Changelog: https://code.visualstudio.com/updates/v1_88
---
 editors/vscode/Makefile                                    |  7 +++----
 editors/vscode/distinfo                                    | 14 +++++++-------
 .../patch-remote_node__modules_kerberos_src_kerberos.h     | 10 ++++++++++
 3 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index 8feaafd423ff..dc090f804a6d 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	vscode
-DISTVERSION=	1.88.0
-PORTREVISION=	1
+DISTVERSION=	1.88.1
 CATEGORIES=	editors
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache
 DISTFILES=	yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \
@@ -68,7 +67,7 @@ USES=		desktop-file-utils gl gmake gnome iconv:wchar_t jpeg \
 USE_GITHUB=	yes
 GH_ACCOUNT=	microsoft
 
-SOURCE_COMMIT_HASH=	5c3e652f63e798a5ac2f31ffd0d863669328dc4c
+SOURCE_COMMIT_HASH=	e170252f762678dec6ca2cc69aba1570769a5d39
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 
@@ -80,7 +79,7 @@ USE_GNOME=	atk cairo pango gdkpixbuf2 gtk30 libxml2 libxslt
 USE_LDCONFIG=	${DATADIR}
 
 # Keep NODE_VER in sync with www/node18 DISTVERSION
-NODE_VER=	18.19.1
+NODE_VER=	18.20.2
 NODE_VER_MAJOR=	${NODE_VER:C/\..*$//}
 
 SHEBANG_REGEX=	./(extensions|resources|scripts|src)/.*\.sh$$
diff --git a/editors/vscode/distinfo b/editors/vscode/distinfo
index 7d0b129caa95..6afae399c254 100644
--- a/editors/vscode/distinfo
+++ b/editors/vscode/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1712568208
-SHA256 (vscode/yarn-offline-cache-1.88.0.tar.gz) = d5a3bb012661b119b238cecd981eff049be831d308bc9b09ae14aa3ab49851c9
-SIZE (vscode/yarn-offline-cache-1.88.0.tar.gz) = 341430426
-SHA256 (vscode/vscode-marketplace-exts-1.88.0.tar.gz) = a9a6d7c844ff32df8be2c0afa1df5752e097df93dbe6db3aa0b7ea2b6bea2c94
-SIZE (vscode/vscode-marketplace-exts-1.88.0.tar.gz) = 1732232
-SHA256 (vscode/microsoft-vscode-1.88.0_GH0.tar.gz) = fd1c7d7c2bb21c3eaaaef530eeee9753c4b7c98c708d5306cdab57c9b35627a6
-SIZE (vscode/microsoft-vscode-1.88.0_GH0.tar.gz) = 17644230
+TIMESTAMP = 1713345291
+SHA256 (vscode/yarn-offline-cache-1.88.1.tar.gz) = 73634b88a4325b7aa3e14c490290076644cb9aad496f9ac6f85ffad0e016565c
+SIZE (vscode/yarn-offline-cache-1.88.1.tar.gz) = 341431783
+SHA256 (vscode/vscode-marketplace-exts-1.88.1.tar.gz) = ad843b286128dc7ebda44bc5f000e89b343e0c969197d8e9d40567baad82396c
+SIZE (vscode/vscode-marketplace-exts-1.88.1.tar.gz) = 1732662
+SHA256 (vscode/microsoft-vscode-1.88.1_GH0.tar.gz) = c66fc273b9105f400438d236bfdcc3a2d37c4189e60b8b9e9cdedb604668c73b
+SIZE (vscode/microsoft-vscode-1.88.1_GH0.tar.gz) = 17644872
diff --git a/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h
new file mode 100644
index 000000000000..2e5f9846f935
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h
@@ -0,0 +1,10 @@
+--- remote/node_modules/kerberos/src/kerberos.h.orig	2024-04-17 09:20:40 UTC
++++ remote/node_modules/kerberos/src/kerberos.h
+@@ -7,6 +7,7 @@
+ #define NAPI_VERSION 6
+ // as an experimental feature (that has not been changed since then).
+ #define NAPI_EXPERIMENTAL
++#define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
+ 
+ #include <napi.h>
+ #include "kerberos_common.h"