pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/vile



Module Name:    pkgsrc
Committed By:   agc
Date:           Sat Apr 19 00:29:37 UTC 2025

Modified Files:
        pkgsrc/editors/vile: Makefile distinfo
Added Files:
        pkgsrc/editors/vile/patches: patch-opers.c

Log Message:
editors/vile: fix a bug in "second count" commands (e.g. dNd" or "yNy")

Patch for later versions of vile (i.e. post 2016) which mangle the
dNd and yNy "second" count to be unrecognised and ignored

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 pkgsrc/editors/vile/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/editors/vile/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/vile/patches/patch-opers.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/vile/Makefile
diff -u pkgsrc/editors/vile/Makefile:1.83 pkgsrc/editors/vile/Makefile:1.84
--- pkgsrc/editors/vile/Makefile:1.83   Sun Feb  9 17:42:35 2025
+++ pkgsrc/editors/vile/Makefile        Sat Apr 19 00:29:37 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2025/02/09 17:42:35 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2025/04/19 00:29:37 agc Exp $
 
 DISTNAME=              vile-9.8za
+PKGREVISION=           1
 CATEGORIES=            editors
 MASTER_SITES=          https://invisible-island.net/archives/vile/current/
 MASTER_SITES+=         ftp://ftp.invisible-island.net/vile/current/

Index: pkgsrc/editors/vile/distinfo
diff -u pkgsrc/editors/vile/distinfo:1.23 pkgsrc/editors/vile/distinfo:1.24
--- pkgsrc/editors/vile/distinfo:1.23   Sun Feb  9 17:42:35 2025
+++ pkgsrc/editors/vile/distinfo        Sat Apr 19 00:29:37 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2025/02/09 17:42:35 wiz Exp $
+$NetBSD: distinfo,v 1.24 2025/04/19 00:29:37 agc Exp $
 
 BLAKE2s (vile-9.8za.tgz) = da86d4a6af9a4d69354662053c02c3fb34f595f678c11764c98cd237af74af2a
 SHA512 (vile-9.8za.tgz) = 0a3cda7e30b4df24d234c5e6db7ba26f50b1b101ca8f1e700872169e158aa42d6f25ae6243a9671badbdcb8359d3e430f658407470fc1bd70e166f17d1c2c261
 Size (vile-9.8za.tgz) = 2496214 bytes
+SHA1 (patch-opers.c) = c8cbb391e673adb132b4f1992f0e705302a65372

Added files:

Index: pkgsrc/editors/vile/patches/patch-opers.c
diff -u /dev/null pkgsrc/editors/vile/patches/patch-opers.c:1.1
--- /dev/null   Sat Apr 19 00:29:37 2025
+++ pkgsrc/editors/vile/patches/patch-opers.c   Sat Apr 19 00:29:37 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-opers.c,v 1.1 2025/04/19 00:29:37 agc Exp $
+
+Patch for later versions of vile (i.e.  post 2016) which mangle the
+dNd and yNy "second" count to be unrecognised and ignored
+
+--- opers.c    2016/07/16 01:12:30     1.1
++++ opers.c    2016/07/16 01:12:38
+@@ -75,7 +75,7 @@
+            * Otherwise (if we picked up a repeat count on the second try),
+            * then that can apply to a motion.
+            */
+-          if (thiskey == lastkey && (foo || !f)) {
++          if (thiskey == lastkey) {
+               cfp = &f_godotplus;
+           } else {
+               cfp = DefaultKeyBinding(c);



Home | Main Index | Thread Index | Old Index