Explorar el Código

Upgrade to Patch-2.5.9. Fixes #2239.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 16 años
padre
commit
5857c98bda
Se han modificado 7 ficheros con 39 adiciones y 6 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 6 2
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 6 0
      chapter05/patch.xml
  5. 6 0
      chapter06/patch.xml
  6. 4 4
      packages.ent
  7. 5 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2009-02-01</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Upgraded to Patch-2.5.9.  Fixes
+          <ulink url="&lfs-ticket-root;2239">#2239</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgraded to Man-Pages-3.17.  Fixes
           <ulink url="&lfs-ticket-root;2327">#2327</ulink>.</para>

+ 6 - 2
chapter01/whatsnew.xml

@@ -143,9 +143,9 @@
     <listitem>
       <para>Ncurses &ncurses-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
       <para>Patch &patch-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Perl &perl-version;</para>
     </listitem>-->
@@ -224,6 +224,10 @@
       <para>&linux-header-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&patch-fixes-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&readline-fixes-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -162,6 +162,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Patch Carriage Return Fix Patch - <token>&patch-fixes-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&patch-fixes-patch;"/></para>
+        <para>MD5 sum: <literal>&patch-fixes-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <!-- <varlistentry>
       <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>

+ 6 - 0
chapter05/patch.xml

@@ -43,6 +43,12 @@
   <sect2 role="installation">
     <title>Installation of Patch</title>
 
+    <para>Apply a patch that fixes a bug whereby <command>patch</command>
+    fails to apply patches whose lines contain trailing carriage return
+    characters:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&patch-fixes-patch;</userinput></screen>
+
     <para>Prepare Patch for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>

+ 6 - 0
chapter06/patch.xml

@@ -42,6 +42,12 @@
   <sect2 role="installation">
     <title>Installation of Patch</title>
 
+    <para>Apply a patch that fixes a bug whereby <command>patch</command>
+    fails to apply patches whose lines contain trailing carriage return
+    characters:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&patch-fixes-patch;</userinput></screen>
+
     <para>Prepare Patch for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

+ 4 - 4
packages.ent

@@ -391,10 +391,10 @@
 <!ENTITY ncurses-ch6-du "31 MB">
 <!ENTITY ncurses-ch6-sbu "0.7 SBU">
 
-<!ENTITY patch-version "2.5.4">
-<!ENTITY patch-size "183 KB">
-<!ENTITY patch-url "&gnu;patch/patch-&patch-version;.tar.gz">
-<!ENTITY patch-md5 "ee5ae84d115f051d87fcaaef3b4ae782">
+<!ENTITY patch-version "2.5.9">
+<!ENTITY patch-size "197 KB">
+<!ENTITY patch-url "&alpha-gnu;diffutils/patch-&patch-version;.tar.gz">
+<!ENTITY patch-md5 "dacfb618082f8d3a2194601193cf8716">
 <!ENTITY patch-home "&gnu-software;patch/">
 <!ENTITY patch-ch5-du "1.6 MB">
 <!ENTITY patch-ch5-sbu "less than 0.1 SBU">

+ 5 - 0
patches.ent

@@ -94,6 +94,11 @@
 <!ENTITY mktemp-tempfile-patch-size "3.5 KB"> -->
 
 
+<!ENTITY patch-fixes-patch "patch-&patch-version;-fixes-1.patch">
+<!ENTITY patch-fixes-patch-md5 "a2f0901f42e87ad3d5fefbccee6a09f4">
+<!ENTITY patch-fixes-patch-size "1.7 KB">
+
+
 <!ENTITY perl-consolidated-patch "perl-&perl-version;-consolidated-1.patch">
 <!ENTITY perl-consolidated-patch-md5 "d1bcffb5d671bd659f7ca5c451a0c752">
 <!ENTITY perl-consolidated-patch-size "7.1 KB">