Explorar el Código

Add a patch to fix the four sed utf8 tests.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9951 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat hace 12 años
padre
commit
b8363c8fb4
Se han modificado 5 ficheros con 25 adiciones y 0 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/sed.xml
  5. 5 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -47,6 +47,10 @@
           <para>[ken] - Add four locales to the minimum set for test
           coverage.</para>
         </listitem>
+        <listitem>
+          <para>[ken] - Add patch to fix sed utf8 regression test
+          failures.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

+ 4 - 0
chapter01/whatsnew.xml

@@ -246,6 +246,10 @@
     <listitem>
       <para>pkg-config-&pkgconfig-version;</para>
     </listitem>
+
+    <listitem>
+      <para>&sed-testsuite-patch;</para>
+    </listitem>
 <!--  Added and removed in this cycle
     <listitem>
       <para>popt&popt-version;</para>

+ 8 - 0
chapter03/patches.xml

@@ -139,6 +139,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Sed Regression Tests Patch - <token>&sed-testsuite-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&sed-testsuite-patch;"/></para>
+        <para>MD5 sum: <literal>&sed-testsuite-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <!--<varlistentry>
       <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter06/sed.xml

@@ -40,6 +40,10 @@
   <sect2 role="installation">
     <title>Installation of Sed</title>
 
+    <para>First, fix some regression tests:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&sed-testsuite-patch;</userinput></screen>
+
     <para>Prepare Sed for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed-&sed-version;</userinput></screen>

+ 5 - 0
patches.ent

@@ -83,6 +83,11 @@
 <!ENTITY readline-fixes-patch-size "1.3 KB">
 
 
+<!ENTITY sed-testsuite-patch "sed-&sed-version;-testsuite_fixes-1.patch">
+<!ENTITY sed-testsuite-patch-md5 "2c10a5804eedf5359bcf427bc0d05579">
+<!ENTITY sed-testsuite-patch-size "1.9 KB">
+
+
 <!ENTITY tar-overflow-patch "tar-&tar-version;-overflow_fix-1.patch">
 <!ENTITY tar-overflow-patch-md5 "1912ec36d2a0e2b96678651cf583ce6f">
 <!ENTITY tar-overflow-patch-size "1.7 KB">