From d18b988bcc0f2e84a49fde3399319c3eac29bd34 Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 7 Nov 2025 18:01:53 +0300 Subject: [PATCH] readline rebuild --- .../files/readline-8.3-iwd-crash.patch | 19 +++++++++++++++++++ system/base/readline/pspec.xml | 9 +++++++++ 2 files changed, 28 insertions(+) create mode 100644 system/base/readline/files/readline-8.3-iwd-crash.patch diff --git a/system/base/readline/files/readline-8.3-iwd-crash.patch b/system/base/readline/files/readline-8.3-iwd-crash.patch new file mode 100644 index 00000000..def5a5cb --- /dev/null +++ b/system/base/readline/files/readline-8.3-iwd-crash.patch @@ -0,0 +1,19 @@ +https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html +https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1 + +*** a/display.c Fri May 2 09:20:32 2025 +--- b/display.c Sun Jul 6 17:16:28 2025 +*************** +*** 784,788 **** + /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */ + #define INVIS_FIRST() (local_prompt_invis_chars[0]) +! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0) + + #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0) +--- 784,788 ---- + /* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */ + #define INVIS_FIRST() (local_prompt_invis_chars[0]) +! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0) + + #define W_OFFSET(line, offset) ((line) == 0 ? offset : 0) + diff --git a/system/base/readline/pspec.xml b/system/base/readline/pspec.xml index 11da4056..ae8898b5 100644 --- a/system/base/readline/pspec.xml +++ b/system/base/readline/pspec.xml @@ -18,6 +18,8 @@ readline83-001.patch + + readline-8.3-iwd-crash.patch @@ -68,6 +70,13 @@ + + 2025-11-06 + 8.3.1 + Rebuild. + Pisi Linux Community + admin@pisilinux.org + 2025-10-30 8.3.1