diff --git a/system/base/readline/actions.py b/system/base/readline/actions.py
index b361e8fd..c456787c 100644
--- a/system/base/readline/actions.py
+++ b/system/base/readline/actions.py
@@ -30,6 +30,12 @@ def install():
if get.buildTYPE() == "emul32": return
pisitools.removeDir("/usr/bin")
+
+ pisitools.dosym("/usr/lib/libreadline.so.8", "/usr/lib/libreadline.so.7")
+ pisitools.dosym("/usr/lib32/libreadline.so.8", "/usr/lib32/libreadline.so.7")
+
+ pisitools.dosym("/usr/lib/libhistory.so.8", "/usr/lib/libhistory.so.7")
+ pisitools.dosym("/usr/lib32/libhistory.so.8", "/usr/lib32/libhistory.so.7")
pisitools.dohtml("doc/")
pisitools.dodoc("CHANGELOG", "CHANGES", "README", "USAGE", "NEWS")
diff --git a/system/base/readline/files/readline80-001.patch b/system/base/readline/files/readline80-001.patch
new file mode 100644
index 00000000..aa72a9df
--- /dev/null
+++ b/system/base/readline/files/readline80-001.patch
@@ -0,0 +1,38 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 8.0
+Patch-ID: readline80-001
+
+Bug-Reported-by: chet.ramey@case.edu
+Bug-Reference-ID:
+Bug-Reference-URL:
+
+Bug-Description:
+
+The history file reading code doesn't close the file descriptor open to
+the history file when it encounters a zero-length file.
+
+Patch (apply with `patch -p0'):
+
+*** ../readline-8.0-patched/histfile.c 2018-06-11 09:14:52.000000000 -0400
+--- histfile.c 2019-05-16 15:55:57.000000000 -0400
+***************
+*** 306,309 ****
+--- 312,316 ----
+ {
+ free (input);
++ close (file);
+ return 0; /* don't waste time if we don't have to */
+ }
+*** ../readline-8.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
+--- patchlevel 2014-03-21 08:28:40.000000000 -0400
+***************
+*** 1,3 ****
+ # Do not edit -- exists only for use by patch
+
+! 0
+--- 1,3 ----
+ # Do not edit -- exists only for use by patch
+
+! 1
diff --git a/system/base/readline/pspec.xml b/system/base/readline/pspec.xml
index 9cc57fe8..16dfc218 100644
--- a/system/base/readline/pspec.xml
+++ b/system/base/readline/pspec.xml
@@ -12,16 +12,12 @@
library
Another cute console display library
The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands.
- mirrors://gnu/readline/readline-7.0.tar.gz
+ mirrors://gnu/readline/readline-8.0.tar.gz
ncurses-devel
- readline70-001.patch
- readline70-002.patch
- readline70-003.patch
- readline70-004.patch
- readline70-005.patch
+ readline80-001.patch
@@ -70,6 +66,13 @@
+
+ 2019-10-01
+ 8.0.1
+ Rebuild.
+ Idris Kalp
+ idriskalp@gmail.com
+
2018-07-18
7.0