aboutsummaryrefslogtreecommitdiff
path: root/extra/readline
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-04 22:56:09 +0300
committerCem Keylan <cem@ckyln.com>2021-05-04 22:56:09 +0300
commit889011228deffab60efdcca1380ba14eeb6f134c (patch)
tree707dbe5296938627c9eaf931538dfb6ac8c3ccb8 /extra/readline
parenta5da1d29073c92c81b71f6786b2e5aaf7ea02a3a (diff)
downloadrepository-889011228deffab60efdcca1380ba14eeb6f134c.tar.gz
readline: bump to 8.1p1
Diffstat (limited to 'extra/readline')
-rwxr-xr-xextra/readline/build9
-rw-r--r--extra/readline/checksums1
-rw-r--r--extra/readline/sources1
-rw-r--r--extra/readline/version2
4 files changed, 12 insertions, 1 deletions
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