[packages/readline] Up to 8.3.0

arekm arekm at pld-linux.org
Fri Jul 4 13:03:35 CEST 2025


commit e9b7ec5f87f92c86d63b1b2d190215dab8a2af87
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Jul 4 13:03:20 2025 +0200

    Up to 8.3.0

 readline-lfs.patch     | 25 -------------------------
 readline-termcap.patch | 29 ++++-------------------------
 readline.spec          | 18 ++++++++----------
 3 files changed, 12 insertions(+), 60 deletions(-)
---
diff --git a/readline.spec b/readline.spec
index 36fef50..898e722 100644
--- a/readline.spec
+++ b/readline.spec
@@ -1,7 +1,7 @@
 # NOTE: when updating patchlevel, do not forget to update 'sources' file!
 # Format is (one per line): <md5> <patch_filename>
-%define	ver		8.2
-%define	patchlevel	13
+%define	ver		8.3
+%define	patchlevel	0
 Summary:	Library for reading lines from a terminal
 Summary(de.UTF-8):	Library zum Lesen von Zeilen von einem Terminal
 Summary(es.UTF-8):	Biblioteca para lectura de líneas de un terminal
@@ -19,13 +19,12 @@ Release:	1
 License:	GPL v3+
 Group:		Libraries
 Source0:	https://ftp.gnu.org/gnu/readline/%{name}-%{ver}.tar.gz
-# Source0-md5:	4aa1b31be779e6b84f9a96cb66bc50f6
+# Source0-md5:	25a73bfb2a3ad7146c5e9d4408d9f6cd
 Source1:	%{name}-sys_inputrc
 Patch0:		%{name}-shared.patch
 Patch1:		%{name}-info.patch
 Patch2:		%{name}-header.patch
-Patch3:		%{name}-lfs.patch
-Patch4:		%{name}-termcap.patch
+Patch3:		%{name}-termcap.patch
 # Commits: http://git.savannah.gnu.org/cgit/readline.git/
 %patchset_source -f http://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-%03g 1 %{patchlevel}
 URL:		https://tiswww.cwru.edu/php/chet/readline/rltop.html
@@ -190,11 +189,10 @@ Bibliotecas estáticas para desenvolvimento com readline.
 %setup -q -n %{name}-%{ver}
 # official patches
 %patchset_patch -p0 1 %{patchlevel}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
 
 # force info regeneration
 %{__rm} doc/*.info
diff --git a/readline-lfs.patch b/readline-lfs.patch
deleted file mode 100644
index 3a8e22f..0000000
--- a/readline-lfs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -urNp -x '*.orig' readline-8.1.org/config.h.in readline-8.1/config.h.in
---- readline-8.1.org/config.h.in	2016-11-21 19:02:48.000000000 +0100
-+++ readline-8.1/config.h.in	2021-03-21 12:54:58.441931009 +0100
-@@ -32,6 +32,9 @@
- 
- #undef volatile
- 
-+/* Define for large files, on AIX-style hosts. */
-+#undef _LARGE_FILES
-+
- #undef PROTOTYPES
- #undef __PROTOTYPES
- 
-diff -urNp -x '*.orig' readline-8.1.org/histfile.c readline-8.1/histfile.c
---- readline-8.1.org/histfile.c	2020-03-17 17:37:35.000000000 +0100
-+++ readline-8.1/histfile.c	2021-03-21 12:54:58.441931009 +0100
-@@ -684,7 +684,7 @@ history_do_write (const char *filename,
-   int file, mode, rv, exists;
-   struct stat finfo, nfinfo;
- #ifdef HISTORY_USE_MMAP
--  size_t cursize;
-+  off_t cursize;
- 
-   history_lines_written_to_file = 0;
- 
diff --git a/readline-termcap.patch b/readline-termcap.patch
index 8b829fc..80313e0 100644
--- a/readline-termcap.patch
+++ b/readline-termcap.patch
@@ -1,34 +1,13 @@
 --- readline-8.1/aclocal.m4.orig	2021-09-30 12:19:56.932608638 +0200
 +++ readline-8.1/aclocal.m4	2021-09-30 12:20:55.982231142 +0200
-@@ -996,10 +996,10 @@
+@@ -933,9 +933,9 @@ fi
  AC_CACHE_VAL(bash_cv_termcap_lib,
  [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc,
    [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap,
-+                [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw,
++   [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw,
      [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo,
          [AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses,
- 	    [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses,
--                [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw,
+-	    [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw,
+                 [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses,
  	            bash_cv_termcap_lib=gnutermcap)])])])])])])
  if test "X$_bash_needmsg" = "Xyes"; then
- AC_MSG_CHECKING(which library has the termcap functions)
-@@ -1012,6 +1012,9 @@
- elif test $bash_cv_termcap_lib = libtermcap && test -z "$prefer_curses"; then
- TERMCAP_LIB=-ltermcap
- TERMCAP_DEP=
-+elif test $bash_cv_termcap_lib = libncursesw; then
-+TERMCAP_LIB=-lncursesw
-+TERMCAP_DEP=
- elif test $bash_cv_termcap_lib = libtinfo; then
- TERMCAP_LIB=-ltinfo
- TERMCAP_DEP=
---- readline-8.1/configure.ac.orig	2021-09-30 12:14:21.587987979 +0200
-+++ readline-8.1/configure.ac	2021-09-30 12:21:23.945384363 +0200
-@@ -216,6 +216,7 @@
- -ltinfo)  TERMCAP_PKG_CONFIG_LIB=tinfo ;;
- -lcurses) TERMCAP_PKG_CONFIG_LIB=ncurses ;;
- -lncurses) TERMCAP_PKG_CONFIG_LIB=ncurses ;;
-+-lncursesw) TERMCAP_PKG_CONFIG_LIB=ncursesw ;;
- -ltermcap) TERMCAP_PKG_CONFIG_LIB=termcap ;;
- *) TERMCAP_PKG_CONFIG_LIB=termcap ;;
- esac
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/readline.git/commitdiff/e9b7ec5f87f92c86d63b1b2d190215dab8a2af87



More information about the pld-cvs-commit mailing list