aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-27 18:09:00 +0200
committerCem Keylan <cem@ckyln.com>2022-09-27 18:10:03 +0200
commit452598545790ff0d7efb2215b9877daa810daa38 (patch)
tree0470c7c40c3a6359155810d6b3ef4779094569a0
parentf6fd02a8813179218a56067785b522110c474279 (diff)
downloadrepository-452598545790ff0d7efb2215b9877daa810daa38.tar.gz
readline: bump to 8.2
-rwxr-xr-xextra/readline/build11
-rw-r--r--extra/readline/checksums4
-rw-r--r--extra/readline/sources4
-rw-r--r--extra/readline/version2
4 files changed, 7 insertions, 14 deletions
diff --git a/extra/readline/build b/extra/readline/build
index 88cdea25..7649424d 100755
--- a/extra/readline/build
+++ b/extra/readline/build
@@ -3,13 +3,10 @@
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
-}
+rl_maj=${2%%.*} rl_min=${2%.p*} rl_min=${rl_min#$rl_maj.}
+for patch in "readline$rl_maj$rl_min-"0??; do
+ [ -f "$patch" ] && patch -p0 < "$patch"
+done
./configure \
--prefix=/usr
diff --git a/extra/readline/checksums b/extra/readline/checksums
index 37b9c289..1a4fe961 100644
--- a/extra/readline/checksums
+++ b/extra/readline/checksums
@@ -1,4 +1,2 @@
%BLAKE3
-39e8e08a5b5da62cdc4567e2492afec2cf41160b6f8af18f9e914692e8b3cd44 readline-8.1.tar.gz
-9f15513e349cacf09cd6361ca339284c9a01fb01f609388ed3bf555af4a244be readline81-001
-05e09dce61449f54685258cefd6a47a2d951bb3f1316390146b63add4fa4ccd9 readline81-002
+8ed29b72406bb2bbcafd8dde1486ee108293e5cefe710f84b63b066207adf92f readline-8.2.tar.gz
diff --git a/extra/readline/sources b/extra/readline/sources
index e04ee707..df50f5c1 100644
--- a/extra/readline/sources
+++ b/extra/readline/sources
@@ -1,3 +1 @@
-https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz
-https://ftp.gnu.org/gnu/readline/readline-8.1-patches/readline81-001
-https://ftp.gnu.org/gnu/readline/readline-8.1-patches/readline81-002
+https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz
diff --git a/extra/readline/version b/extra/readline/version
index 6b9f61f6..2ca496f0 100644
--- a/extra/readline/version
+++ b/extra/readline/version
@@ -1 +1 @@
-8.1p2 1
+8.2 1