summaryrefslogtreecommitdiff
path: root/editors/ne
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2021-08-07 12:20:17 +0000
committerprlw1 <prlw1@pkgsrc.org>2021-08-07 12:20:17 +0000
commit64cc67a19aa7982ca06b9b47b0a3993fffb3eca8 (patch)
tree5f3407f8e7c4bd86de295fbca025f2ba01fccbab /editors/ne
parent14ad085795c6e900d8782d28481f9983fe43d165 (diff)
downloadpkgsrc-64cc67a19aa7982ca06b9b47b0a3993fffb3eca8.tar.gz
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 (limited to 'editors/ne')
-rw-r--r--editors/ne/Makefile4
-rw-r--r--editors/ne/distinfo11
-rw-r--r--editors/ne/patches/patch-src_unixhdr.h16
3 files changed, 24 insertions, 7 deletions
diff --git a/editors/ne/Makefile b/editors/ne/Makefile
index 53711fdfb14..84d0e003879 100644
--- a/editors/ne/Makefile
+++ b/editors/ne/Makefile
@@ -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 --git a/editors/ne/distinfo b/editors/ne/distinfo
index ecc64b5a294..d7da954fa1d 100644
--- a/editors/ne/distinfo
+++ b/editors/ne/distinfo
@@ -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 --git a/editors/ne/patches/patch-src_unixhdr.h b/editors/ne/patches/patch-src_unixhdr.h
new file mode 100644
index 00000000000..8b933e4eb4d
--- /dev/null
+++ b/editors/ne/patches/patch-src_unixhdr.h
@@ -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