aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter01/whatsnew.xml3
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/readline.xml7
-rw-r--r--patches.ent5
5 files changed, 28 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 7ce39e69f..a29df9bf0 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 464e7aa45..5e2ca15e1 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -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>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index e9831b1b7..3483cabaf 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -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>
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 4afb22da6..f7d5d96f9 100644
--- a/chapter06/readline.xml
+++ b/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>
diff --git a/patches.ent b/patches.ent
index 6be384ea1..a8e2ef3f4 100644
--- a/patches.ent
+++ b/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">