Changeset a2ae800


Ignore:
Timestamp:
12/07/2005 10:29:58 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
cbf206e
Parents:
ea92fe5
Message:

Condensed the sed commands and changed a hard-coded GCC version to an entity in the cpio instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5365 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/cpio.xml

    rea92fe5 ra2ae800  
    66
    77  <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
    8   <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
    9   <!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
    10   <!ENTITY cpio-size "561 KB">
    11   <!ENTITY cpio-buildsize "5.3 MB">
    12   <!ENTITY cpio-time "0.1 SBU">
     8  <!ENTITY cpio-download-ftp  "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
     9  <!ENTITY cpio-md5sum        "76b4145f33df088a5bade3bf4373d17d">
     10  <!ENTITY cpio-size          "561 KB">
     11  <!ENTITY cpio-buildsize     "5.3 MB">
     12  <!ENTITY cpio-time          "0.1 SBU">
    1313]>
    1414
     
    2525  </sect1info>
    2626
    27   <title>Cpio-&cpio-version;</title>
     27  <title>cpio-&cpio-version;</title>
    2828
    2929  <indexterm zone="cpio">
     
    3232
    3333  <sect2 role="package">
    34     <title>Introduction to Cpio</title>
     34    <title>Introduction to cpio</title>
    3535
    3636    <para>The <application>cpio</application> package contains
     
    7070
    7171  <sect2 role="installation">
    72     <title>Installation of Cpio</title>
     72    <title>Installation of cpio</title>
    7373
    7474    <para>Install <application>cpio</application> by running the following
    7575    commands:</para>
    7676
    77 <screen><userinput>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &amp;&amp;
     77<screen><userinput>sed -i "s/invalid_arg/argmatch_invalid/" src/mt.c &amp;&amp;
    7878patch -Np1 -i ../cpio-&cpio-version;-security_fixes-1.patch &amp;&amp;
    7979./configure CPIO_MT_PROG=mt --prefix=/usr \
     
    8585
    8686    <para>To test the results, issue:</para>
    87 <screen><userinput>sed -i -e 's/static const char \*argp_program_version/ \
    88                     const char \*argp_program_version/' \
    89        -e 's/static const char \*argp_program_bug_address/ \
    90                     const char \*argp_program_bug_address/' \
    91         tests/genfile.c &amp;&amp;
     87
     88<screen><userinput>sed -i 's/static const char/const char/' tests/genfile.c &amp;&amp;
    9289make check</userinput></screen>
    9390
     
    10198    <title>Command Explanations</title>
    10299
    103     <para><command>sed -i -e "s/invalid_arg/argmatch_invalid/"
     100    <para><command>sed -i "s/invalid_arg/argmatch_invalid/"
    104101    src/mt.c</command>: This command fixes a build problem with the
    105102    <command>mt</command> program.</para>
    106 
    107 
    108103
    109104    <para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
     
    132127    into regular files during archive creation.</para>
    133128
    134     <para><command>sed -i -e 's/static const ...</command>:  This command fixes a build problem when
    135     compiling the tests with gcc-4.0.1</para>
     129    <para><command>sed -i 's/static const ...</command>:  This command fixes
     130    a build problem when compiling the tests with GCC-&gcc-version;.</para>
    136131
    137132  </sect2>
Note: See TracChangeset for help on using the changeset viewer.