git: aa4d72a63ec3 - main - editors/vscode: update to 1.86.2

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 16 Feb 2024 11:12:41 UTC
The branch main has been updated by tagattie:

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

commit aa4d72a63ec34267afecf7f9abf6d9778972c130
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-02-16 11:11:03 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-02-16 11:12:34 +0000

    editors/vscode: update to 1.86.2
    
    While here, fix error on remote server startup.
    
    Changelog: https://code.visualstudio.com/updates/v1_86
    
    Reported by:    GitHub (watch releases)
---
 editors/vscode/Makefile                                    |  4 ++--
 editors/vscode/distinfo                                    | 14 +++++++-------
 ...esources_server_bin_helpers_check-requirements-linux.sh | 12 ++++++++++++
 3 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
index db652363335c..588e569a4143 100644
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	vscode
-DISTVERSION=	1.86.1
+DISTVERSION=	1.86.2
 CATEGORIES=	editors
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache
 DISTFILES=	yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \
@@ -67,7 +67,7 @@ USES=		desktop-file-utils gl gmake gnome iconv:wchar_t jpeg \
 USE_GITHUB=	yes
 GH_ACCOUNT=	microsoft
 
-SOURCE_COMMIT_HASH=	31c37ee8f63491495ac49e43b8544550fbae4533
+SOURCE_COMMIT_HASH=	903b1e9d8990623e3d7da1df3d33db3e42d80eda
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 
diff --git a/editors/vscode/distinfo b/editors/vscode/distinfo
index 84e4a2bed11c..562adaf33c75 100644
--- a/editors/vscode/distinfo
+++ b/editors/vscode/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1707639016
-SHA256 (vscode/yarn-offline-cache-1.86.1.tar.gz) = be56b0b969ea522290c6b06d068ef541bac92612d447fa015d3b22dd20969320
-SIZE (vscode/yarn-offline-cache-1.86.1.tar.gz) = 333001065
-SHA256 (vscode/vscode-marketplace-exts-1.86.1.tar.gz) = 86c21c34c23c2c51de27e3903aaf60e236a259d198be9183852edc90399d7bf8
-SIZE (vscode/vscode-marketplace-exts-1.86.1.tar.gz) = 1817278
-SHA256 (vscode/microsoft-vscode-1.86.1_GH0.tar.gz) = d3942febb8e6dea1f3f473d3035450a09d678e2dbea5412f784814c16fb0bdf6
-SIZE (vscode/microsoft-vscode-1.86.1_GH0.tar.gz) = 17357908
+TIMESTAMP = 1708062695
+SHA256 (vscode/yarn-offline-cache-1.86.2.tar.gz) = 9e644009944653e89236c8d440c0dce022e861185f89a16d379d2f1044c1d5b1
+SIZE (vscode/yarn-offline-cache-1.86.2.tar.gz) = 333001133
+SHA256 (vscode/vscode-marketplace-exts-1.86.2.tar.gz) = 85fa8771c0eac906833236010274e2f057f90afd1ce3eebe70d2c1688c31e854
+SIZE (vscode/vscode-marketplace-exts-1.86.2.tar.gz) = 1821926
+SHA256 (vscode/microsoft-vscode-1.86.2_GH0.tar.gz) = c0b8fac76b0836e6cd5332387d1007c3f959c2cd4c69cd90eb25c79311708375
+SIZE (vscode/microsoft-vscode-1.86.2_GH0.tar.gz) = 17357004
diff --git a/editors/vscode/files/patch-resources_server_bin_helpers_check-requirements-linux.sh b/editors/vscode/files/patch-resources_server_bin_helpers_check-requirements-linux.sh
new file mode 100644
index 000000000000..848e10d93a4c
--- /dev/null
+++ b/editors/vscode/files/patch-resources_server_bin_helpers_check-requirements-linux.sh
@@ -0,0 +1,12 @@
+--- resources/server/bin/helpers/check-requirements-linux.sh.orig	2024-02-16 05:42:44 UTC
++++ resources/server/bin/helpers/check-requirements-linux.sh
+@@ -29,6 +29,9 @@ if [ "$OS_ID" = "nixos" ]; then
+ if [ "$OS_ID" = "nixos" ]; then
+   echo "Warning: NixOS detected, skipping GLIBC check"
+   exit 0
++elif [ "$OS_ID" = "freebsd" ]; then
++  echo "Warning: FreeBSD detected, skipping GLIBC check"
++  exit 0
+ fi
+ 
+ # Based on https://github.com/bminor/glibc/blob/520b1df08de68a3de328b65a25b86300a7ddf512/elf/cache.c#L162-L245