From 8b2d9948e4e2c7e40c26f9ed46445d774b0bd0d8 Mon Sep 17 00:00:00 2001 From: ryoon Date: Fri, 10 Mar 2023 21:56:18 +0000 Subject: [PATCH] bvi: Update to 1.4.2 Changelog: New in release 1.4.2 ==================== This release is dedicated to Sven Guckes (*1967-04-06 +2022-02-20). Sven was an enthusiastic Linux explainer, his particular passion was the console tools. I met Sven a couple of times. He always showed interest in the further developme nt of the bvi and liked to discuss new ideas. R.I.P. Sven * :wq bug fixed * Error-message if input no terminal * Mixed licenses (SF bug #10) * Segmentation fault occurs on undo (SF bug #11) * Segmentation fault occurs on substitution in 32-bit systems (SF bug #12) * ncursesw support * Handling inputs larger than 2^31 bytes (SF bug #13) * Some incorrect function prototypes in ANSI mode fixed (SF bug #14) * Minor fixes --- editors/bvi/Makefile | 6 +++--- editors/bvi/distinfo | 10 +++++----- editors/bvi/patches/patch-comm.c | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile index 1d36f0b88b24..4bf182e3ef1d 100644 --- a/editors/bvi/Makefile +++ b/editors/bvi/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.32 2020/04/07 09:22:36 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2023/03/10 21:56:18 ryoon Exp $ -DISTNAME= bvi-1.4.1.src -PKGNAME= bvi-1.4.1 +DISTNAME= bvi-1.4.2.src +PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bvi/} diff --git a/editors/bvi/distinfo b/editors/bvi/distinfo index 7366e11fb851..79f15986317b 100644 --- a/editors/bvi/distinfo +++ b/editors/bvi/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.11 2021/10/26 10:21:25 nia Exp $ +$NetBSD: distinfo,v 1.12 2023/03/10 21:56:18 ryoon Exp $ -BLAKE2s (bvi-1.4.1.src.tar.gz) = 0a20a381b9e7f505a13883bd5a9e87a049d4aa3ba5c1ce37f597acec2bd7cfeb -SHA512 (bvi-1.4.1.src.tar.gz) = f7a3f07e6bcefe566a101c4db85192f0d2e3580be0ab10bc297e6c0192e79d29061a7c9f1a57cf5a628f03962deb8c2ed52e33effc1d5198d458627d70d882e6 -Size (bvi-1.4.1.src.tar.gz) = 143181 bytes +BLAKE2s (bvi-1.4.2.src.tar.gz) = 37174e0bdf53109c5540f9fca7fbf30b6807768c0cf7fd870fee07416d756764 +SHA512 (bvi-1.4.2.src.tar.gz) = e2b23b75e5984e222060d3ad99381e1c54f45c28796b0dfe781072c406191272ffff2849218f90c29a398b245af604aa8f0f5448791bc5f3a2ef0f8395ca92c3 +Size (bvi-1.4.2.src.tar.gz) = 148323 bytes SHA1 (patch-bm__unix.c) = 87720c17e7369f123c86c840f8111b7d9ba5ed73 -SHA1 (patch-comm.c) = d86849d41e2387514ea0c222b06400ed14a4ca36 +SHA1 (patch-comm.c) = c3ab9f3ef59d0ee06ad11b2ab0391b1e46f2faef diff --git a/editors/bvi/patches/patch-comm.c b/editors/bvi/patches/patch-comm.c index 3a29e3d59738..e06048e9ba21 100644 --- a/editors/bvi/patches/patch-comm.c +++ b/editors/bvi/patches/patch-comm.c @@ -1,10 +1,10 @@ -$NetBSD: patch-comm.c,v 1.1 2016/06/19 16:55:28 tsutsui Exp $ +$NetBSD: patch-comm.c,v 1.2 2023/03/10 21:56:18 ryoon Exp $ - use for errno. ---- comm.c.orig 2014-01-29 14:54:53.000000000 +0000 +--- comm.c.orig 2023-03-06 16:40:20.000000000 +0000 +++ comm.c -@@ -35,6 +35,8 @@ +@@ -37,6 +37,8 @@ #include "bvi.h" #include "set.h" @@ -13,11 +13,11 @@ #ifdef HAVE_UNISTD_H # include #endif -@@ -84,7 +86,6 @@ PTR end_addr; +@@ -86,7 +88,6 @@ PTR end_addr; extern char *name; /* actual filename */ extern char **files; /* used for "next" and "rewind" */ extern int numfiles, curfile; -extern int errno; - static char oldbuf[CMDSZ]; /** for :!! command **/ + static char oldbuf[CMDSZ + 3]; /** for :!! command **/