Explorar el Código

Add a patch to suppress a warning added in Tar-1.21 that causes the Perl testsuite to fail.

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

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2009-02-08</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Added a patch to suppress a warning added in
+          Tar-1.21 that causes the Perl testsuite to fail.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgraded to MPFR-2.4.0.  Fixes
           <ulink url="&lfs-ticket-root;2341">#2341</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -236,6 +236,10 @@
       <para>&tar-testsuite-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&tar-warning-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&vim-fixes-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -234,6 +234,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Tar Warning Removal Patch - <token>&tar-warning-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&tar-warning-patch;"/></para>
+        <para>MD5 sum: <literal>&tar-warning-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Vim Fixes Patch - <token>&vim-fixes-patch-size;</token>:</term>
       <listitem>

+ 4 - 2
chapter05/tar.xml

@@ -43,9 +43,11 @@
   <sect2 role="installation">
     <title>Installation of Tar</title>
 
-    <para>Apply a patch to correct a bug in Tar's testsuite:</para>
+    <para>Apply 2 patches, which correct a bug in Tar's testsuite and suppress
+    a warning that affects Perl's testsuite:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i ../&tar-testsuite-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&tar-testsuite-patch;
+patch -Np1 -i ../&tar-warning-patch;</userinput></screen>
 
     <para>Prepare Tar for compilation:</para>
 

+ 4 - 2
chapter06/tar.xml

@@ -40,9 +40,11 @@
   <sect2 role="installation">
     <title>Installation of Tar</title>
 
-    <para>Apply a patch to correct a bug in Tar's testsuite:</para>
+    <para>Apply 2 patches, which correct a bug in Tar's testsuite and suppress
+    a warning that affects Perl's testsuite:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i ../&tar-testsuite-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&tar-testsuite-patch;
+patch -Np1 -i ../&tar-warning-patch;</userinput></screen>
 
     <para>Prepare Tar for compilation:</para>
 

+ 4 - 0
patches.ent

@@ -123,6 +123,10 @@
 <!ENTITY tar-testsuite-patch-size "3 KB">
 
 
+<!ENTITY tar-warning-patch "tar-&tar-version;-remove_warning-1.patch">
+<!ENTITY tar-warning-patch-md5 "c7247a20a158ac7d25f02537c4069663">
+<!ENTITY tar-warning-patch-size "1.4 KB">
+
 <!ENTITY vim-fixes-patch "vim-&vim-version;-fixes-4.patch">
 <!ENTITY vim-fixes-patch-md5 "87056fb6fd7bc3df5cd328e26a83bf43">
 <!ENTITY vim-fixes-patch-size "166 KB">