From 1a308632a93e4bc90f0467b7747543d89a079b9054900bd918b2a6ea69189711 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 14 Jan 2022 12:04:50 +0000 Subject: [PATCH] Add official patch readline81-002 OBS-URL: https://build.opensuse.org/package/show/Base:System/readline?expand=0&rev=29 --- readline.changes | 10 +++++++++- readline.spec | 5 ++++- readline81-002 | 45 +++++++++++++++++++++++++++++++++++++++++++++ readline81-002.sig | Bin 0 -> 95 bytes 4 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 readline81-002 create mode 100644 readline81-002.sig diff --git a/readline.changes b/readline.changes index d29a161..6deb4d2 100644 --- a/readline.changes +++ b/readline.changes @@ -1,7 +1,15 @@ +------------------------------------------------------------------- +Fri Jan 14 12:03:35 UTC 2022 - Dr. Werner Fink + +- Add official patch readline81-002 and its signature + * There are some characters (e.g., cyrillic) that can't be displayed using + certain single-byte encodings (e.g., cp1251) because the negative signed + int is interpreted as EOF and not displayed. + ------------------------------------------------------------------- Wed May 5 15:02:23 UTC 2021 - Dr. Werner Fink - - Add official patch readline81-001 and its signature +- Add official patch readline81-001 and its signature * The code to check readline versions in an inputrc file had the sense of the comparisons reversed. diff --git a/readline.spec b/readline.spec index afcd65a..4104635 100644 --- a/readline.spec +++ b/readline.spec @@ -1,7 +1,7 @@ # # spec file for package readline # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,8 +31,10 @@ Source2: baselibs.conf Source4: https://tiswww.case.edu/php/chet/gpgkey.asc#/%{name}.keyring # signatures for official patches Source100: readline81-001.sig +Source101: readline81-002.sig # official patches Patch100: readline81-001 +Patch101: readline81-002 # local patches Patch200: readline-%{version}.dif Patch201: readline-6.3-input.dif @@ -104,6 +106,7 @@ as well as programming with the interface of the readline library. %setup -q # official patches %patch100 -p0 +%patch101 -p0 # local patches %patch201 -p2 -b .zerotty %patch202 -p2 -b .conf diff --git a/readline81-002 b/readline81-002 new file mode 100644 index 0000000..21434ef --- /dev/null +++ b/readline81-002 @@ -0,0 +1,45 @@ + READLINE PATCH REPORT + ===================== + +Readline-Release: 8.1 +Patch-ID: readline81-002 + +Bug-Reported-by: Volodymyr Prodan +Bug-Reference-ID: +Bug-Reference-URL: https://savannah.gnu.org/patch/?10076 + +Bug-Description: + +There are some characters (e.g., cyrillic) that can't be displayed using +certain single-byte encodings (e.g., cp1251) because the negative signed +int is interpreted as EOF and not displayed. + +Patch (apply with `patch -p0'): + +*** ../readline-8.1-patched/display.c 2021-03-16 18:12:20.000000000 -0400 +--- display.c 2021-06-07 16:53:08.000000000 -0400 +*************** +*** 1599,1603 **** + + for (cur_face = FACE_NORMAL, i = 0; i < n; i++) +! putc_face (str[i], face[i], &cur_face); + putc_face (EOF, FACE_NORMAL, &cur_face); + } +--- 1599,1603 ---- + + for (cur_face = FACE_NORMAL, i = 0; i < n; i++) +! putc_face ((unsigned char) str[i], face[i], &cur_face); + putc_face (EOF, FACE_NORMAL, &cur_face); + } + +*** ../readline-8.1/patchlevel 2013-11-15 08:11:11.000000000 -0500 +--- patchlevel 2014-03-21 08:28:40.000000000 -0400 +*************** +*** 1,3 **** + # Do not edit -- exists only for use by patch + +! 1 +--- 1,3 ---- + # Do not edit -- exists only for use by patch + +! 2 diff --git a/readline81-002.sig b/readline81-002.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f4e186ee3df909a5b133f63196dfa7cec19cfeda3879b8e97271fb2a31f4d8c1 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WT{~^{ms#}J}2#1z|P$fnIBSKm8@oEO1!$`I|CP|08B)hmtlU< wHVFa0caL+Id=}7n^6Sk0)G`?*h6VGEtF7WJIZz+;x8G|0@6~TD0!+RE01f&oHUIzs literal 0 HcmV?d00001