pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/nano nano: update to 4.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f27df1c2462
branches:  trunk
changeset: 332655:8f27df1c2462
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Fri Apr 19 18:30:40 2019 +0000

description:
nano: update to 4.1

2019.04.15 - GNU nano 4.1 "Qu? corchos ser? eso?"
? By default, a newline character is again automatically added at the
  end of a buffer, to produce valid POSIX text files by default, but
  also to get back the easy adding of text at the bottom.
? The now unneeded option --finalnewline (-f) has been removed.
? Syntax files are read in alphabetical order when globbing, so that
  the precedence of syntaxes becomes predictable.
? In the C syntax, preprocessor directives are highlighted differently.
? M-S now toggles soft wrapping, and M-N toggles line numbers.
? The jumpy-scrolling toggle has been removed.
? The legacy keystrokes ^W^Y and ^W^V are recognized again.
? Executing an external command is disallowed when in view mode.
? Problems with resizing during external or speller commands were fixed.

diffstat:

 editors/nano/Makefile                  |   5 ++---
 editors/nano/distinfo                  |  11 +++++------
 editors/nano/patches/patch-src_files.c |  26 --------------------------
 3 files changed, 7 insertions(+), 35 deletions(-)

diffs (60 lines):

diff -r 15a47f682731 -r 8f27df1c2462 editors/nano/Makefile
--- a/editors/nano/Makefile     Fri Apr 19 18:01:11 2019 +0000
+++ b/editors/nano/Makefile     Fri Apr 19 18:30:40 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2019/04/01 10:26:42 wiedi Exp $
+# $NetBSD: Makefile,v 1.80 2019/04/19 18:30:40 wiedi Exp $
 
-DISTNAME=      nano-4.0
-PKGREVISION=   1
+DISTNAME=      nano-4.1
 CATEGORIES=    editors
 MASTER_SITES=  https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:R}/
 EXTRACT_SUFX=  .tar.xz
diff -r 15a47f682731 -r 8f27df1c2462 editors/nano/distinfo
--- a/editors/nano/distinfo     Fri Apr 19 18:01:11 2019 +0000
+++ b/editors/nano/distinfo     Fri Apr 19 18:30:40 2019 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.51 2019/04/01 10:26:42 wiedi Exp $
+$NetBSD: distinfo,v 1.52 2019/04/19 18:30:40 wiedi Exp $
 
-SHA1 (nano-4.0.tar.xz) = 586f369d622a883acf06d1143a7b3c8754acc011
-RMD160 (nano-4.0.tar.xz) = b6bb83e30ec4484a6fa8f3d5366387918a480e1f
-SHA512 (nano-4.0.tar.xz) = 2cef28df05f890bc27ef8faa9eb5350f8de2cc6cc69b4dc8e11c19248911630a7088ddbee57c8a8aa56df6efaab13124132d0cda55e5ae1f151265723d7d0ede
-Size (nano-4.0.tar.xz) = 1533992 bytes
+SHA1 (nano-4.1.tar.xz) = 869efac4e2a8032c085f9511d0cfcd51e4602b5a
+RMD160 (nano-4.1.tar.xz) = e41cfe746006c0db3fc523f74c33e5e24bdcb8ae
+SHA512 (nano-4.1.tar.xz) = 2b15b0405b7763ce635d544700956acf6264228f5010a0028e9f442e575cd26cb503a01c425cbac7f71d856e64af1f17ef3bf3a6fcb8b28ee0ab30334a1ca626
+Size (nano-4.1.tar.xz) = 1478088 bytes
 SHA1 (patch-configure) = 4a618bf99332fcfce2413be14400b919d042cc30
-SHA1 (patch-src_files.c) = 59c486e32c18f883139c918fe846946a67a826a6
diff -r 15a47f682731 -r 8f27df1c2462 editors/nano/patches/patch-src_files.c
--- a/editors/nano/patches/patch-src_files.c    Fri Apr 19 18:01:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_files.c,v 1.3 2019/04/01 10:26:42 wiedi Exp $
-
-The lack of initialization caused a nasty bug on some targets (such as
-ARMv7) which would make it so that ^S would just say "Cancelled".
-
-While x86 (both 64 and 32 bits) seems to initialize 'response' to zero or
-a positive number, ARM does not, and there is usually a negative value in
-its place, which triggers the 'if (response < 0)' check and, as a result,
-the code says "Cancelled".
-
-This fixes https://savannah.gnu.org/bugs/?56023.
-Reported-by: Devin Hussey <husseydevin%gmail.com@localhost>
-
-Bug existed since version 4.0, commit 0f9d60a3.
-
---- src/files.c.orig   2019-03-23 08:26:13.000000000 +0000
-+++ src/files.c
-@@ -2101,7 +2101,7 @@ int do_writeout(bool exiting, bool withp
- 
-       while (TRUE) {
-               const char *msg;
--              int response, choice;
-+              int response = 0, choice = 0;
-               functionptrtype func;
- #ifndef NANO_TINY
-               const char *formatstr, *backupstr;



Home | Main Index | Thread Index | Old Index