git: 07d95f1d0357 - main - devel/readline: Update to 8.2 patch 10

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:10:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07d95f1d03577f28148f5fe8899f20abb1d5bf6f

commit 07d95f1d03577f28148f5fe8899f20abb1d5bf6f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:45:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:23 +0000

    devel/readline: Update to 8.2 patch 10
    
    - Fix PATCHFILES and PATCHLEVEL for 2-digit
    
    Changes:        https://lists.gnu.org/archive/html/bug-readline/2024-01/msg00012.html
                    https://lists.gnu.org/archive/html/bug-readline/2024-01/msg00013.html
                    https://lists.gnu.org/archive/html/bug-readline/2024-01/msg00014.html
---
 devel/readline/Makefile | 7 +++----
 devel/readline/distinfo | 8 +++++++-
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index 3c2655ef9a7f..3407ac84c0ce 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	readline
 PORTVERSION=	8.2.${PATCHLEVEL}
-PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 DISTNAME=	readline-${PORTVERSION:R}
@@ -28,12 +27,12 @@ CPE_VENDOR=	gnu
 CPE_VERSION=	${PORTVERSION:R}
 
 # https://ftp.gnu.org/gnu/readline/readline-8.2-patches/
-PATCHES=	1 2 3 4 5 6 7
+PATCHES=	1 2 3 4 5 6 7 8 9 10
 .if defined(PATCHES)
 CPE_UPDATE=	${PATCHLEVEL}
-PATCHLEVEL=	${PATCHES:O:[-1]}
+PATCHLEVEL=	${PATCHES:On:[-1]}
 .for patch in ${PATCHES}
-PATCHFILES+=	readline${PORTVERSION:R:S|.||}-${patch:S|^|00|:S|.*(...)$|\1|}
+PATCHFILES+=	readline${PORTVERSION:R:S|.||}-${patch:S|^|00|:C|.*(...)$|\1|}
 .endfor
 .else
 PATCHLEVEL=	0
diff --git a/devel/readline/distinfo b/devel/readline/distinfo
index e00349045234..a66ebdf1e928 100644
--- a/devel/readline/distinfo
+++ b/devel/readline/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1632227400
+TIMESTAMP = 1709390382
 SHA256 (readline-8.2.tar.gz) = 3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35
 SIZE (readline-8.2.tar.gz) = 3043952
 SHA256 (readline82-001) = bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7
@@ -15,3 +15,9 @@ SHA256 (readline82-006) = c7b45ff8c0d24d81482e6e0677e81563d13c74241f7b86c4de00d2
 SIZE (readline82-006) = 3031
 SHA256 (readline82-007) = 5911a5b980d7900aabdbee483f86dab7056851e6400efb002776a0a4a1bab6f6
 SIZE (readline82-007) = 1422
+SHA256 (readline82-008) = a177edc9d8c9f82e8c19d0630ab351f3fd1b201d655a1ddb5d51c4cee197b26a
+SIZE (readline82-008) = 1697
+SHA256 (readline82-009) = 3d9885e692e1998523fd5c61f558cecd2aafd67a07bd3bfe1d7ad5a31777a116
+SIZE (readline82-009) = 2270
+SHA256 (readline82-010) = 758e2ec65a0c214cfe6161f5cde3c5af4377c67d820ea01d13de3ca165f67b4c
+SIZE (readline82-010) = 2653