git: 161395c22b2b - 2023Q3 - editors/helix: Fix crash

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 19:31:24 UTC
The branch 2023Q3 has been updated by ashish:

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

commit 161395c22b2b568fbbc6f14cd7c3d3569f32ebee
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2023-07-26 11:11:02 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-07-26 19:31:10 +0000

    editors/helix: Fix crash
    
    Import a patch from upstream.
    
    Reported by:    kp
    Co-authored-by: Kristof Provost <kp@freebsd.org>
    
    (cherry picked from commit ccddac9a94d7d9fd7cb0956899dd0b6297f9e26b)
---
 editors/helix/Makefile | 6 +++++-
 editors/helix/distinfo | 4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/editors/helix/Makefile b/editors/helix/Makefile
index bf15213b9747..9a16695372b9 100644
--- a/editors/helix/Makefile
+++ b/editors/helix/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	helix
 DISTVERSION=	23.05
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors
 MASTER_SITES=	https://git.sr.ht/~ecmma/tree-sitter-hare/archive/:treesitterhare \
 		https://raw.githubusercontent.com/tree-sitter/tree-sitter-javascript/${TREE_SITTER_JSHIGH_REV}/queries/highlights.scm?file=/:jshigh \
@@ -10,6 +10,10 @@ DISTFILES=	${TREE_SITTER_HARE_REV}.tar.gz:treesitterhare \
 		${TREE_SITTER_TSHIGH_REV}-ts-highlights.scm:tshigh
 EXTRACT_ONLY=	${DISTFILES:N*\:*high:C/:[^:]+$//}
 
+PATCHFILES=	de0ef8af15945fb7f761503c615a2d6213d2fd82.patch
+PATCH_DIST_STRIP=	-p1
+PATCH_SITES=	https://github.com/helix-editor/helix/commit/
+
 MAINTAINER=	ashish@FreeBSD.org
 COMMENT=	Post-modern modal text editor
 WWW=		https://helix-editor.com/
diff --git a/editors/helix/distinfo b/editors/helix/distinfo
index e575760e7254..187f4ef9dfc0 100644
--- a/editors/helix/distinfo
+++ b/editors/helix/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1684537014
+TIMESTAMP = 1690361789
 SHA256 (bc26a6a949f2e0d98b7bfc437d459b250900a165.tar.gz) = 24d37cf7daceff3db2fccf6ac940f9ec4bfe2f6b50ccbc2ba77c93373194a47f
 SIZE (bc26a6a949f2e0d98b7bfc437d459b250900a165.tar.gz) = 202696
 SHA256 (4a95461c4761c624f2263725aca79eeaefd36cad-js-highlights.scm) = e95592de492967123553f06eada2b4dc674263ac2c69351bb9797596a0cab203
@@ -773,3 +773,5 @@ SHA256 (Philipp-M-tree-sitter-yuck-e3d91a3c_GH0.tar.gz) = 0d89ea6a514ebe476913e8
 SIZE (Philipp-M-tree-sitter-yuck-e3d91a3c_GH0.tar.gz) = 42224
 SHA256 (maxxnino-tree-sitter-zig-8d3224c3_GH0.tar.gz) = 97476d4689d2abcec259bc5f85faca32fbd7b032f6804211255f6644a163c69c
 SIZE (maxxnino-tree-sitter-zig-8d3224c3_GH0.tar.gz) = 731628
+SHA256 (de0ef8af15945fb7f761503c615a2d6213d2fd82.patch) = 298e7daa1c7e35488e4a9c341b8952d4644935bfc4e6ff9adb563398d126e0e1
+SIZE (de0ef8af15945fb7f761503c615a2d6213d2fd82.patch) = 2385