Update to readline-8.2 patchlevel 1
This commit is contained in:
parent
e4db95e0f7
commit
d9eeaa11d2
23
readline-8.2-patch-1.patch
Normal file
23
readline-8.2-patch-1.patch
Normal file
@ -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
|
@ -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 <svashisht@redhat.com> - 8.2-2
|
||||
- Update to readline-8.2 patchlevel 1
|
||||
|
||||
* Wed Oct 05 2022 Siteshwar Vashisht <svashisht@redhat.com> - 8.2-1
|
||||
- Update to readline-8.2
|
||||
Resolves: #2129926
|
||||
|
Loading…
Reference in New Issue
Block a user