pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/ne Update ne to 3.18



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40a9f59ee342
branches:  trunk
changeset: 456751:40a9f59ee342
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Sat Aug 07 12:20:17 2021 +0000

description:
Update ne to 3.18

Version 3.18 04-May-2021
------------------------

1. Allow mark textblock and mark rectangle keystrokes in readonly mode (the
corresponding commands and the "copy" keystroke were already allowed; this was
an oversight).

2. Two casts in sysunix.c for the 2nd argument of tgetstr().

3. The buffers for file names were too small for very long file names. They
have been increased in size and put on the stack instead of statics in the
binary.

4. Some obsolete memory-handling code has been tidied up. Use size_t for memory
sizes. NE now frees all its memory via an atexit() function, but in screen mode
ncurses doesn't free everything (see various online discussions).


Version 3.17 21-October-2018
----------------------------

1. Added support for Page-up, Page-down, Home, and End keys via terminfo or
termcap.

2. Fix 2 for 3.16 had a bug when the build date was greater than the 9th of the
month.


Version 3.16 07-August-2018
---------------------------

1. In screen mode, if an empty line was given in response to the "Write" prompt
at the end of editing, NE crashed.

2. Refactor to use memcpy() instead of strncpy() when messing with substrings
in order to avoid GCC string truncation warnings.

3. Implemented the "unformat" command.

4. Allow up to function key 30 (previously was 29, don't know why), and set
function keystring 30 to "unformat".

5. When screen mode was temporarily suspended via the "*" command, if the
"load" or "g" commands required a user response, NE crashed.

6. Recognize -version as well as --version and -v since all other long options
have just a single hyphen.

diffstat:

 editors/ne/Makefile                    |   4 ++--
 editors/ne/distinfo                    |  11 ++++++-----
 editors/ne/patches/patch-src_unixhdr.h |  16 ++++++++++++++++
 3 files changed, 24 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r 4f82429be99b -r 40a9f59ee342 editors/ne/Makefile
--- a/editors/ne/Makefile       Sat Aug 07 10:56:05 2021 +0000
+++ b/editors/ne/Makefile       Sat Aug 07 12:20:17 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2021/04/22 10:16:38 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2021/08/07 12:20:17 prlw1 Exp $
 
-DISTNAME=      ne-3.15
+DISTNAME=      ne-3.18
 CATEGORIES=    editors
 #MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/wordprocessing/unix/ne/
 
diff -r 4f82429be99b -r 40a9f59ee342 editors/ne/distinfo
--- a/editors/ne/distinfo       Sat Aug 07 10:56:05 2021 +0000
+++ b/editors/ne/distinfo       Sat Aug 07 12:20:17 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2018/06/06 14:53:04 prlw1 Exp $
+$NetBSD: distinfo,v 1.10 2021/08/07 12:20:17 prlw1 Exp $
 
-SHA1 (ne-3.15.tar.gz) = 141fbfd001080bd54fe2de8356eb5c24fb4e7630
-RMD160 (ne-3.15.tar.gz) = 05d9c8ee9e27256448ea66232732a297471cfa14
-SHA512 (ne-3.15.tar.gz) = d4bd74d255649e3805d2fc497b4ef73ef26c0b4ba857e0fd05da2ffebd16943196da3d0dd6a18c32a4afa841cc72b989c3f40db7d9b9f49c60675646a525c048
-Size (ne-3.15.tar.gz) = 664978 bytes
+SHA1 (ne-3.18.tar.gz) = 365603be30905aa132a5c2563a8f3024e06e8902
+RMD160 (ne-3.18.tar.gz) = 4f856bb07e86657b7fa7a40e1aba1499f5ff0fa7
+SHA512 (ne-3.18.tar.gz) = 56509124c4d4836a367564e086b02bb453cf6a12e236631cf9f1781672b832f2c6204e4886cacaed0c9d0a60c34ba0920fc87ba578b9deaf0b63443396cc2a6b
+Size (ne-3.18.tar.gz) = 665893 bytes
 SHA1 (patch-Makefile.in) = 994359a495cb24b0ca7073c30f7664bff145c445
+SHA1 (patch-src_unixhdr.h) = 936dfa4e567ad8b7a0c0270795edfbe8a1f7247d
diff -r 4f82429be99b -r 40a9f59ee342 editors/ne/patches/patch-src_unixhdr.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ne/patches/patch-src_unixhdr.h    Sat Aug 07 12:20:17 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_unixhdr.h,v 1.1 2021/08/07 12:20:17 prlw1 Exp $
+
+There is no configure test for GWINSZ_IN_SYS_IOCTL, and ioctl() is used.
+
+--- src/unixhdr.h.orig 2021-05-04 15:35:21.000000000 +0000
++++ src/unixhdr.h
+@@ -29,9 +29,7 @@
+   #endif
+ #endif
+           
+-#if defined GWINSZ_IN_SYS_IOCTL && GWINSZ_IN_SYS_IOCTL
+ #include <sys/ioctl.h>
+-#endif
+ 
+ #ifndef NO_TERM_H
+   #ifndef TERM_H



Home | Main Index | Thread Index | Old Index