From e2b7bb45611470256c9ee5090e54d1a663ea29c3 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Mon, 27 Nov 2023 15:40:31 +0000 Subject: [PATCH] libreadline8: update to 8.2.007. --- srcpkgs/libreadline8/template | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/srcpkgs/libreadline8/template b/srcpkgs/libreadline8/template index 8517bf9854b2b1..aea2ba8e52b581 100644 --- a/srcpkgs/libreadline8/template +++ b/srcpkgs/libreadline8/template @@ -1,9 +1,10 @@ # Template file for 'libreadline8' pkgname=libreadline8 -version=8.2.001 +version=8.2.007 revision=1 _dist_ver="${version%.*}" _patch_ver="${version##*.}" +_patchprefix="readline${_dist_ver/./}" bootstrap=yes build_style=gnu-configure configure_args="--with-curses --with-shared-termcap-library --enable-multibyte @@ -14,11 +15,24 @@ maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://tiswww.cwru.edu/php/chet/readline/rltop.html" changelog="https://tiswww.cwru.edu/php/chet/readline/NEWS" -distfiles="${GNU_SITE}/readline/readline-${_dist_ver}.tar.gz - ${GNU_SITE}/readline/readline-${_dist_ver}-patches/readline${_dist_ver/./}-001" +distfiles="${GNU_SITE}/readline/readline-${_dist_ver}.tar.gz" + +_url="${GNU_SITE}/readline/readline-${_dist_ver}-patches" +for _p in $(seq -w 001 $_patch_ver); do + distfiles+=" ${_url}/${_patchprefix}-${_p}" + skip_extraction+=" ${_patchprefix}-${_p}" +done +unset _url +unset _p + checksum="3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35 - bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7" -skip_extraction="readline${_dist_ver/./}-001" + bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7 + e06503822c62f7bc0d9f387d4c78c09e0ce56e53872011363c74786c7cd4c053 + 24f587ba46b46ed2b1868ccaf9947504feba154bb8faabd4adaea63ef7e6acb0 + 79572eeaeb82afdc6869d7ad4cba9d4f519b1218070e17fa90bbecd49bd525ac + 622ba387dae5c185afb4b9b20634804e5f6c1c6e5e87ebee7c35a8f065114c99 + c7b45ff8c0d24d81482e6e0677e81563d13c74241f7b86c4de00d239bc81f5a1 + 5911a5b980d7900aabdbee483f86dab7056851e6400efb002776a0a4a1bab6f6" post_patch() { cd ${wrksrc}