Author: matthew
Date: 2007-01-31 11:24:33 -0700 (Wed, 31 Jan 2007)
New Revision: 7905

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/readline.xml
   trunk/BOOK/patches.ent
Log:
Add upstream fixes from the Readline maintainer.  Fixes #1945.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-01-31 18:22:53 UTC (rev 7904)
+++ trunk/BOOK/chapter01/changelog.xml  2007-01-31 18:24:33 UTC (rev 7905)
@@ -40,6 +40,11 @@
       <para>2007-01-31</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Include a patch from from the Readline maintainer 
to
+          fix a multibyte-related issue.  Fixes
+          <ulink url="&lfs-ticket-root;1945">#1945</ulink></para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Include more upstream fixes from the Bash 
maintainer
           in bash-3.2-fixes-2.patch</para>
         </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml   2007-01-31 18:22:53 UTC (rev 7904)
+++ trunk/BOOK/chapter01/whatsnew.xml   2007-01-31 18:24:33 UTC (rev 7905)
@@ -211,6 +211,9 @@
       <para>&less-signal_fix-patch;</para>
     </listitem>
     <listitem>
+      <para>&readline-fixes-patch;</para>
+    </listitem>
+    <listitem>
       <para>&util-linux-lseek-patch;</para>
     </listitem>
     <listitem>

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml    2007-01-31 18:22:53 UTC (rev 7904)
+++ trunk/BOOK/chapter03/patches.xml    2007-01-31 18:24:33 UTC (rev 7905)
@@ -171,6 +171,14 @@
     </varlistentry>
 
     <varlistentry>
+      <term>Readline Fixes Patch - 
<token>&readline-fixes-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink 
url="&patches-root;&readline-fixes-patch;"/></para>
+        <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>Sysklogd 8-Bit Cleanness Patch - 
<token>&sysklogd-8bit-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink 
url="&patches-root;&sysklogd-8bit-patch;"/></para>

Modified: trunk/BOOK/chapter06/readline.xml
===================================================================
--- trunk/BOOK/chapter06/readline.xml   2007-01-31 18:22:53 UTC (rev 7904)
+++ trunk/BOOK/chapter06/readline.xml   2007-01-31 18:24:33 UTC (rev 7905)
@@ -43,6 +43,13 @@
 <screen><userinput>sed -i '/MV.*old/d' Makefile.in
 sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
 
+    <para>Readline contains a bug in its handling of non-multibyte characters,
+    which can lead to incorrect display calculations and incorrect redisplay.
+    Fix this issue by applying the following patch from the upstream 
maintainer:
+    </para>
+
+<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
+
     <para>Prepare Readline for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent      2007-01-31 18:22:53 UTC (rev 7904)
+++ trunk/BOOK/patches.ent      2007-01-31 18:24:33 UTC (rev 7905)
@@ -90,6 +90,11 @@
 <!ENTITY perl-libc-patch-size "1.1 KB">
 
 
+<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch">
+<!ENTITY readline-fixes-patch-md5 "5da0e4305bc8e4e61ba4f2f0c6afc6ff">
+<!ENTITY readline-fixes-patch-size "0.8 KB">
+
+
 <!ENTITY sysklogd-8bit-patch "sysklogd-&sysklogd-version;-8bit-1.patch">
 <!ENTITY sysklogd-8bit-patch-md5 "cc0d9c3bd67a6b6357e42807cf06073e">
 <!ENTITY sysklogd-8bit-patch-size "0.9 KB">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to