From d9eeaa11d267ff102bd7f98054292dbb6cbafbf3 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Oct 06 2022 08:13:29 +0000 Subject: Update to readline-8.2 patchlevel 1 --- diff --git a/readline-8.2-patch-1.patch b/readline-8.2-patch-1.patch new file mode 100644 index 0000000..da05187 --- /dev/null +++ b/readline-8.2-patch-1.patch @@ -0,0 +1,23 @@ +diff --git a/nls.c b/nls.c +--- a/nls.c ++++ b/nls.c +@@ -141,6 +141,10 @@ _rl_init_locale (void) + if (lspec == 0) + lspec = ""; + ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */ ++ if (ret == 0 || *ret == 0) ++ ret = setlocale (LC_CTYPE, (char *)NULL); ++ if (ret == 0 || *ret == 0) ++ ret = RL_DEFAULT_LOCALE; + #else + ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec; + #endif +diff --git a/patchlevel b/patchlevel +index d8c9df7..fdf4740 100644 +--- a/patchlevel ++++ b/patchlevel +@@ -1,3 +1,3 @@ + # Do not edit -- exists only for use by patch + +-0 ++1 diff --git a/readline.spec b/readline.spec index 878d3fb..3bd3969 100644 --- a/readline.spec +++ b/readline.spec @@ -1,13 +1,14 @@ Summary: A library for editing typed command lines Name: readline Version: 8.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://tiswww.case.edu/php/chet/readline/rltop.html Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz # Official upstream patches # Patches are converted to apply with '-p1' +Patch1: readline-8.2-patch-1.patch # Other patches # Remove RPATH, use CFLAGS @@ -82,6 +83,9 @@ rm -vf %{buildroot}%{_infodir}/dir* %{_libdir}/libhistory.a %changelog +* Thu Oct 06 2022 Siteshwar Vashisht - 8.2-2 +- Update to readline-8.2 patchlevel 1 + * Wed Oct 05 2022 Siteshwar Vashisht - 8.2-1 - Update to readline-8.2 Resolves: #2129926