From af8085a4043625e8964d809cdc8614aa55cdd721 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Wed, 9 Oct 2019 10:57:21 +0300 Subject: [PATCH] readline: Update to 8.0.001 --- mingw-w64-readline/PKGBUILD | 8 ++++-- mingw-w64-readline/readline80-001 | 38 ++++++++++++++++++++++++++ mingw-w64-readline/readline80-001.sig | Bin 0 -> 95 bytes 3 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 mingw-w64-readline/readline80-001 create mode 100644 mingw-w64-readline/readline80-001.sig diff --git a/mingw-w64-readline/PKGBUILD b/mingw-w64-readline/PKGBUILD index fbaa268a1f..f9e2cd57a3 100644 --- a/mingw-w64-readline/PKGBUILD +++ b/mingw-w64-readline/PKGBUILD @@ -4,9 +4,9 @@ _realname=readline pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" _basever=8.0 -_patchlevel=000 +_patchlevel=001 pkgver=${_basever}.${_patchlevel} -pkgrel=4 +pkgrel=1 pkgdesc="MinGW port of readline for editing typed command lines (mingw-w64)" arch=('any') depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" @@ -27,7 +27,9 @@ fi validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') sha256sums=('e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461' 'SKIP' - '353dcbbc0435c60e33f02f8fb1c2d10e9b966ebe1b3857a0b2e2e268029c6f35') + '353dcbbc0435c60e33f02f8fb1c2d10e9b966ebe1b3857a0b2e2e268029c6f35' + 'd8e5e98933cf5756f862243c0601cb69d3667bb33f2c7b751fe4e40b2c3fd069' + 'SKIP') prepare() { cd "${srcdir}/readline-${_basever}" diff --git a/mingw-w64-readline/readline80-001 b/mingw-w64-readline/readline80-001 new file mode 100644 index 0000000000..aa72a9dfa7 --- /dev/null +++ b/mingw-w64-readline/readline80-001 @@ -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/mingw-w64-readline/readline80-001.sig b/mingw-w64-readline/readline80-001.sig new file mode 100644 index 0000000000000000000000000000000000000000..9ca780d61c1c71cf01ab3d9f51c45d86cdcdcd7c GIT binary patch literal 95 zcmeB(WnmCxVvrS6WT{~^{ms#}J}2#1z|P$fnIBSKm8@oEiVaaa#lXcW025JQWthdh v>`CmIJ9i3GyaP9;l|&tT^I0%}VV+K-HCtWR`&$dMJ=U_xM||{HBOL+&zS1Wd literal 0 HcmV?d00001