Skip to content

Commit

Permalink
editors/nvi2: Update to V2.2.1
Browse files Browse the repository at this point in the history
    https://github.com/lichray/nvi2/releases/tag/v2.2.1

Changes since V2.2.0:

 - Display control chars in altnotation.

 - Intuitively jump between troff paragraphs.

 - Keep correct count for unprintable character sequences in
   opts_print().

 - Do a full reformat when ^L/^R redrawing.

 - Fix printing of line number when the 's' command is used with
   the 'c' flag and the number option is set.

 - Fix wide buffer growth when expanding filenames.

 - Fix segmentation fault when window size changes.

 - Fix buffer overflow in ex_comm_search.

 - Fix segmentation fault in number increment.

 - Fix for terminal state corruption on q from ex-mode.

 - Fix core dump when tags file pattern has a trailing '\'.

Reported by:	Zhihao Yuan
  • Loading branch information
leres committed Sep 25, 2023
1 parent 6e47a40 commit cd5299a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 72 deletions.
8 changes: 6 additions & 2 deletions editors/nvi2/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nvi2
PORTVERSION= 2.2.0
PORTVERSION= 2.2.1
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= editors

MAINTAINER= leres@FreeBSD.org
Expand Down Expand Up @@ -35,6 +34,11 @@ PLIST_FILES= bin/nex \
man/man1/nvi.1.gz \
man/man1/nview.1.gz

post-patch:
${REINPLACE_CMD} -e \
'/-Wall/s/^/add_compile_options(-fcolor-diagnostics)\n/' \
${WRKSRC}/CMakeLists.txt

do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/nvi ${STAGEDIR}${PREFIX}/bin
${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nex
Expand Down
6 changes: 3 additions & 3 deletions editors/nvi2/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1600161316
SHA256 (lichray-nvi2-v2.2.0_GH0.tar.gz) = cd668287f55af1e2ccd64e6c0edb504aec41d25a9efe2e505abaa90c3c551455
SIZE (lichray-nvi2-v2.2.0_GH0.tar.gz) = 439545
TIMESTAMP = 1695680540
SHA256 (lichray-nvi2-v2.2.1_GH0.tar.gz) = 9f7c9aef3924c0e39ef96e1aadb8f5d396825b8251addab1290aa866cf3d5af4
SIZE (lichray-nvi2-v2.2.1_GH0.tar.gz) = 443376
10 changes: 0 additions & 10 deletions editors/nvi2/files/patch-CMakeLists.txt

This file was deleted.

12 changes: 0 additions & 12 deletions editors/nvi2/files/patch-ex_ex__subst.c

This file was deleted.

45 changes: 0 additions & 45 deletions editors/nvi2/files/patch-vi_v__paragraph.c

This file was deleted.

0 comments on commit cd5299a

Please sign in to comment.