From 889011228deffab60efdcca1380ba14eeb6f134c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 4 May 2021 22:56:09 +0300 Subject: readline: bump to 8.1p1 --- extra/readline/build | 9 +++++++++ extra/readline/checksums | 1 + extra/readline/sources | 1 + extra/readline/version | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/extra/readline/build b/extra/readline/build index b19251e0..88cdea25 100755 --- a/extra/readline/build +++ b/extra/readline/build @@ -2,6 +2,15 @@ export CFLAGS="$CFLAGS -fPIC" +# I am really tired of how bash and readline handles patches. +[ "${2##*p*}" ] || { + maj=${2%%.*} + min=${2%%p*} min=${min##*.} + for patch in "readline$maj$min"-0??; do + patch -p0 < "$patch" + done +} + ./configure \ --prefix=/usr diff --git a/extra/readline/checksums b/extra/readline/checksums index 2656ab85..7f5cdf17 100644 --- a/extra/readline/checksums +++ b/extra/readline/checksums @@ -1 +1,2 @@ f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02 readline-8.1.tar.gz +682a465a68633650565c43d59f0b8cdf149c13a874682d3c20cb4af6709b9144 readline81-001 diff --git a/extra/readline/sources b/extra/readline/sources index b66a1b22..863769de 100644 --- a/extra/readline/sources +++ b/extra/readline/sources @@ -1 +1,2 @@ https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz +https://ftp.gnu.org/gnu/readline/readline-8.1-patches/readline81-001 diff --git a/extra/readline/version b/extra/readline/version index 52a9321b..faa64dd7 100644 --- a/extra/readline/version +++ b/extra/readline/version @@ -1 +1 @@ -8.1p0 1 +8.1p1 1 -- cgit v1.2.3