Ticket #2054: grep.patch

File grep.patch, 5.6 KB (added by Matthew Burgess, 16 years ago)
  • chapter01/changelog.xml

    old new  
    4040      <para>2008-02-07</para>
    4141      <itemizedlist>
    4242        <listitem>
     43          <para>[matthew] - Upgraded to Grep-2.5.3. Fixes
     44          <ulink url="&lfs-ticket-root;2054">#2054</ulink>.</para>
     45        </listitem>
     46        <listitem>
    4347          <para>[matthew] - Added a patch to fix a known issue in the Automake
    4448          test suite. Fixes
    4549          <ulink url="&lfs-ticket-root;2143">#2143</ulink>.</para>
  • chapter01/whatsnew.xml

    old new  
    8686    <listitem>
    8787      <para>Glibc &glibc-version;</para>
    8888    </listitem>
    89     <!--<listitem>
     89    <listitem>
    9090      <para>Grep &grep-version;</para>
    91     </listitem>-->
     91    </listitem>
    9292    <!--<listitem>
    9393      <para>Groff &groff-version;</para>
    9494    </listitem>-->
  • packages.ent

    old new  
    207207<!ENTITY glibc-libidn-md5 "226809992fb1f3dc6ea23e0f26952ea4">
    208208<!ENTITY glibc-libidn-home " ">
    209209
    210 <!ENTITY grep-version "2.5.1a">
    211 <!ENTITY grep-size "516 KB">
     210<!ENTITY grep-version "2.5.3">
     211<!ENTITY grep-size "604 KB">
    212212<!ENTITY grep-url "&gnu;grep/grep-&grep-version;.tar.bz2">
    213 <!ENTITY grep-md5 "52202fe462770fa6be1bb667bd6cf30c">
     213<!ENTITY grep-md5 "27061ce1fde82876970b6549a156da8b">
    214214<!ENTITY grep-home "&gnu-software;grep/">
    215215<!ENTITY grep-ch5-du "4.8 MB">
    216216<!ENTITY grep-ch5-sbu "0.1 SBU">
  • chapter05/grep.xml

    old new  
    6969
    7070    <para>To test the results, issue:</para>
    7171
    72 <screen><userinput remap="test">make check</userinput></screen>
     72<screen><userinput remap="test">make check || true</userinput></screen>
     73
     74    <para>There are known test failures in the <command>foad1.sh</command> and
     75    <command>yesno.sh</command> tests.  The &quot;|| true&quot; construct is
     76    used to avoid build automated build scripts from failing due to the test.
     77    </para>
    7378
    7479    <para>Install the package:</para>
    7580
  • chapter06/grep.xml

    old new  
    4040  <sect2 role="installation">
    4141    <title>Installation of Grep</title>
    4242
    43     <para>The current Grep package has many bugs, especially in the support of
    44     multibyte locales. RedHat fixed some of them with the following patch:</para>
    45 
    46 <screen><userinput remap="pre">patch -Np1 -i ../&grep-fixes-patch;</userinput></screen>
    47 
    48     <para>In order for the tests added by this patch to pass, the permissions for
    49     the test file have to be changed:</para>
    50 
    51 <screen><userinput remap="pre">chmod +x tests/fmbtest.sh</userinput></screen>
    52 
    5343    <para>Prepare Grep for compilation:</para>
    5444
    5545<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
     
    6050
    6151    <para>To test the results, issue:</para>
    6252
    63 <screen><userinput remap="test">make check</userinput></screen>
     53<screen><userinput remap="test">make check || true</userinput></screen>
     54
     55    <para>There are known test failures in the <command>foad1.sh</command> and
     56    <command>yesno.sh</command> tests.  The &quot;|| true&quot; construct is
     57    used to avoid build automated build scripts from failing due to the test
     58    failures.</para>
    6459
    6560    <para>Install the package:</para>
    6661
  • chapter03/patches.xml

    old new  
    8383    </varlistentry>
    8484
    8585    <varlistentry>
    86       <term>Grep RedHat Fixes Patch - <token>&grep-fixes-patch-size;</token>:</term>
    87       <listitem>
    88         <para>Download: <ulink url="&patches-root;&grep-fixes-patch;"/></para>
    89         <para>MD5 sum: <literal>&grep-fixes-patch-md5;</literal></para>
    90       </listitem>
    91     </varlistentry>
    92 
    93     <varlistentry>
    9486      <term>Groff Debian Patch - <token>&groff-debian-patch-size;</token>:</term>
    9587      <listitem>
    9688        <para>Download: <ulink url="&patches-root;&groff-debian-patch;"/></para>
  • patches.ent

    old new  
    4040<!ENTITY expect-spawn-patch-size "6.8 KB">
    4141
    4242
    43 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
    44 <!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
    45 <!ENTITY grep-fixes-patch-size "55 KB">
    46 
    47 
    4843<!ENTITY groff-debian-patch "groff-&groff-version;-debian_fixes-1.patch">
    4944<!ENTITY groff-debian-patch-md5 "05607e7fcfd6e5091f020bf44ddca10b">
    5045<!ENTITY groff-debian-patch-size "379 KB">