readline 8.0.1

This commit is contained in:
IdrisKalp
2019-12-11 02:14:40 +03:00
parent 8f5f322d89
commit 6036e8f8b7
3 changed files with 53 additions and 6 deletions
+6
View File
@@ -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")
@@ -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
+9 -6
View File
@@ -12,16 +12,12 @@
<IsA>library</IsA>
<Summary>Another cute console display library</Summary>
<Description>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.</Description>
<Archive sha1sum="d9095fa14a812495052357e1d678b3f2ac635463" type="targz">mirrors://gnu/readline/readline-7.0.tar.gz</Archive>
<Archive sha1sum="d58041c2143595dc001d2777ae9a200be30198b0" type="targz">mirrors://gnu/readline/readline-8.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>readline70-001.patch</Patch>
<Patch>readline70-002.patch</Patch>
<Patch>readline70-003.patch</Patch>
<Patch>readline70-004.patch</Patch>
<Patch>readline70-005.patch</Patch>
<Patch>readline80-001.patch</Patch>
</Patches>
</Source>
@@ -70,6 +66,13 @@
</Files>
</Package>
<History>
<Update release="6">
<Date>2019-10-01</Date>
<Version>8.0.1</Version>
<Comment>Rebuild.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="5">
<Date>2018-07-18</Date>
<Version>7.0</Version>