Ignore:
Timestamp:
09/19/2005 03:48:07 PM (19 years ago)
Author:
Richard Downing <richard@…>
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:
06833a4a
Parents:
2db2a0c4
Message:

fixed the build of the test suite for cpio-2.6 when using gcc-4.0.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/cpio.xml

    r2db2a0c4 r0768a9f  
    8080make</userinput></screen>
    8181
    82     <para>To test the results, issue: <command>make check</command>.</para>
     82    <para>To test the results, issue:
     83    <screen><userinput>sed -i -e 's/static const char \*argp_program_version/ \
     84                    const char \*argp_program_version/' \
     85       -e 's/static const char \*argp_program_bug_address/ \
     86                    const char \*argp_program_bug_address/' \
     87        tests/genfile.c &amp;&amp;
     88make check
     89    </userinput></screen></para>
    8390   
    8491    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    94101    src/mt.c</command>: This command fixes a build problem with the
    95102    <command>mt</command> program.</para>
     103   
     104
    96105
    97106    <para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
     
    119128    define fixes a bug that causes <command>cpio</command> to convert symlinks
    120129    into regular files during archive creation.</para>
     130   
     131    <para><command>sed -i -e 's/static const ...</command>:  This command fixes a build problem when
     132    compiling the tests with gcc-4.0.1</para>
    121133
    122134  </sect2>
Note: See TracChangeset for help on using the changeset viewer.