Browse Source

Add latest upstream patches for Readline-6.2.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9487 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 14 năm trước cách đây
mục cha
commit
67e8a9b074
5 tập tin đã thay đổi với 23 bổ sung0 xóa
  1. 3 0
      chapter01/changelog.xml
  2. 3 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/readline.xml
  5. 5 0
      patches.ent

+ 3 - 0
chapter01/changelog.xml

@@ -39,6 +39,9 @@
     <listitem>
       <para>2011-03-14</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add latest upstream patches for Readline-6.2.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Add latest upstream patches for Bash-4.2. Fixes
           <ulink url="&lfs-ticket-root;2841">#2841</ulink>.</para>

+ 3 - 0
chapter01/whatsnew.xml

@@ -221,6 +221,9 @@
     <listitem>
       <para>bash-&bash-version;-fixes-1.patch</para>
     </listitem>
+    <listitem>
+      <para>readline-&readline-version;-fixes-1.patch</para>
+    </listitem>
   </itemizedlist>
 
   <itemizedlist>

+ 8 - 0
chapter03/patches.xml

@@ -140,6 +140,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>

+ 4 - 0
chapter06/readline.xml

@@ -49,6 +49,10 @@
 <screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
 sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
 
+    <para>Apply a patch to fix a known bug that has been fixed upstream:</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

@@ -78,6 +78,11 @@
 <!ENTITY procps-watch-patch-size "3.5 KB">
 
 
+<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch">
+<!ENTITY readline-fixes-patch-md5 "3c185f7b76001d3d0af614f6f2cd5dfa">
+<!ENTITY readline-fixes-patch-size "1.3 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"> -->