Browse Source

Add upstream fixes from the Readline maintainer. Fixes #1945.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 18 years ago
parent
commit
c38b204e8a
5 changed files with 28 additions and 0 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 3 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 7 0
      chapter06/readline.xml
  5. 5 0
      patches.ent

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <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>

+ 3 - 0
chapter01/whatsnew.xml

@@ -210,6 +210,9 @@
     <listitem>
       <para>&less-signal_fix-patch;</para>
     </listitem>
+    <listitem>
+      <para>&readline-fixes-patch;</para>
+    </listitem>
     <listitem>
       <para>&util-linux-lseek-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -170,6 +170,14 @@
       </listitem>
     </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>

+ 7 - 0
chapter06/readline.xml

@@ -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>

+ 5 - 0
patches.ent

@@ -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">