[lfs] branch trunk updated: Fix a problme identified upstream for readline-8.3.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <176461188380.6320.3135501513765872550@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 50ed68a11 Fix a problme identified upstream for readline-8.3.
50ed68a11 is described below

commit 50ed68a11f34c5b2e306c8d9c08255e50a75c1a2
Author: Bruce Dubbs <[email protected]>
AuthorDate: Mon Dec 1 11:57:44 2025 -0600

    Fix a problme identified upstream for readline-8.3.
---
 chapter08/readline.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/chapter08/readline.xml b/chapter08/readline.xml
index eefd9f966..c821359fb 100644
--- a/chapter08/readline.xml
+++ b/chapter08/readline.xml
@@ -56,6 +56,16 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
 
 <screen><userinput>sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf</userinput></screen>
 
+    <para>
+      Fix a problem identified upstream specifically for this version of readline:
+    </para>
+
+<screen><userinput>sed -e '270a\
+     else\
+       chars_avail = 1;'      \
+    -e '288i\   result = -1;' \
+    -i.orig input.c</userinput></screen>
+
     <para>Prepare Readline for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr    \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.