1
0
Эх сурвалжийг харах

Add upstream Readline patches. Fixes #2426.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 16 жил өмнө
parent
commit
d092e9c0f2

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2009-06-29</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Added upstream Readline patches. Fixes
+          <ulink url="&lfs-ticket-root;2426">#2426</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Module-Init-Tools-3.9. Fixes
           <ulink url="&lfs-ticket-root;2420">#2420</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -247,6 +247,10 @@
       <para>&patch-fixes-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&readline-fixes-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&vim-fixes-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -202,6 +202,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Readline Upstream 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>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
       <listitem>

+ 5 - 0
chapter06/readline.xml

@@ -49,6 +49,11 @@
 <screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
 sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
 
+    <para>Apply fixes for several bugs discovered since the initial release of
+    Readline-&readline-version;:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
+
     <para>Prepare Readline for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>

+ 5 - 0
patches.ent

@@ -98,6 +98,11 @@
 <!ENTITY procps-watch-patch-size "3.5 KB">
 
 
+<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch">
+<!ENTITY readline-fixes-patch-md5 "aada5f5c582a769735286e7ed1a80af7">
+<!ENTITY readline-fixes-patch-size "3.6 KB">
+
+
 <!-- <!ENTITY shadow-useradd-patch "shadow-&shadow-version;-useradd_fix-2.patch">
 <!ENTITY shadow-useradd-patch-md5 "5f35528f38d5432d5fa2dd79d04bdfdd">
 <!ENTITY shadow-useradd-patch-size "6.1 KB"> -->