Hi all,
Updated to the latest release of Kakoune, had to backport a commit to
patch out pathchk which doesn't exist on OpenBSD, I also checked the
previous commit about removing test -nt, both methods seem to work in
the test files so I didn't bother backporting that one.
Tests are now the same as last time on arm64, so hopefully all in order.
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/kakoune/Makefile,v
diff -u -p -r1.15 Makefile
--- Makefile 17 Apr 2026 21:09:36 -0000 1.15
+++ Makefile 24 May 2026 20:13:47 -0000
@@ -1,6 +1,6 @@
COMMENT = modal code editor with a focus on interactivity
-V = 2026.04.12
+V = 2026.05.21
DISTNAME = kakoune-${V}
CATEGORIES = editors
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/kakoune/distinfo,v
diff -u -p -r1.11 distinfo
--- distinfo 17 Apr 2026 21:09:36 -0000 1.11
+++ distinfo 24 May 2026 20:13:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (kakoune-2026.04.12.tar.bz2) = zmetyK97IFUEYzMsOOOJys/dgPcJ4UuZQMEnCRqrBoE=
-SIZE (kakoune-2026.04.12.tar.bz2) = 638734
+SHA256 (kakoune-2026.05.21.tar.bz2) = vh3rP+mAigczqxBXMJ2jgLt1cwfo/bsi3EeLZ0trrTQ=
+SIZE (kakoune-2026.05.21.tar.bz2) = 639744
Index: patches/patch-rc_tools_autorestore_kak
===================================================================
RCS file: patches/patch-rc_tools_autorestore_kak
diff -N patches/patch-rc_tools_autorestore_kak
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-rc_tools_autorestore_kak 24 May 2026 20:13:47 -0000
@@ -0,0 +1,22 @@
+Backport commit cc2182e72226c8fdb7aaa0ac97a8c29ed58d5d54, no pathchk on OpenBSD
+
+Index: rc/tools/autorestore.kak
+--- rc/tools/autorestore.kak.orig
++++ rc/tools/autorestore.kak
+@@ -35,10 +35,12 @@ define-command autorestore-restore-buffer \
+ fi
+
+ # ensure backup suffix only contains portable filename characters
+- if ! pathchk -p "$(printf %s "${newer}" | cut -b ${#backup_prefix}-)" >/dev/null 2>&1; then
+- printf "echo -debug 'backup file suffix contains unexpected characters %s, ignored.'" "$(printf %s "${newer}" | sed s/\'/\'\'/g)"
+- exit
+- fi
++ case "$(printf %s "${newer}" | cut -b ${#backup_prefix}-)" in
++ *[!A-Za-z0-9_.-]*)
++ printf "echo -debug 'backup file suffix contains unexpected characters %s, ignored.'" "$(printf %s "${newer}" | sed s/\'/\'\'/g)"
++ exit
++ ;;
++ esac
+
+ printf %s\\n "
+ ## Replace the content of the buffer with the content of the backup file