Ignore:
Timestamp:
06/07/2020 08:16:00 PM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
595ff03
Parents:
d53fefa
Message:

Initial commit of alternative cross LFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/patch.xml

    rd53fefa rfcc02767  
    66]>
    77
    8 <sect1 id="ch-system-patch" role="wrap">
     8<sect1 id="ch-tools-patch" role="wrap">
    99  <?dbhtml filename="patch.html"?>
    1010
     
    1717  <title>Patch-&patch-version;</title>
    1818
    19   <indexterm zone="ch-system-patch">
     19  <indexterm zone="ch-tools-patch">
    2020    <primary sortas="a-Patch">Patch</primary>
     21    <secondary>tools</secondary>
    2122  </indexterm>
    2223
     
    2425    <title/>
    2526
    26     <para>The Patch package contains a program for modifying or creating files
    27     by applying a <quote>patch</quote> file typically created by the
    28     <command>diff</command> program.</para>
     27    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     28    href="../chapter08/patch.xml"
     29    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
    2930
    3031    <segmentedlist>
     
    3334
    3435      <seglistitem>
    35         <seg>&patch-ch6-sbu;</seg>
    36         <seg>&patch-ch6-du;</seg>
     36        <seg>&patch-ch5-sbu;</seg>
     37        <seg>&patch-ch5-du;</seg>
    3738      </seglistitem>
    3839    </segmentedlist>
     
    4546    <para>Prepare Patch for compilation:</para>
    4647
    47 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/usr   \
     49            --host=$LFS_TGT \
     50            --build=$(build-aux/config.guess)</userinput></screen>
    4851
    4952    <para>Compile the package:</para>
     
    5154<screen><userinput remap="make">make</userinput></screen>
    5255
    53     <para>To test the results, issue:</para>
    54 
    55 <screen><userinput remap="test">make check</userinput></screen>
    56 
    5756    <para>Install the package:</para>
    5857
    59 <screen><userinput remap="install">make install</userinput></screen>
     58<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    6059
    6160  </sect2>
    6261
    63   <sect2 id="contents-patch" role="content">
    64     <title>Contents of Patch</title>
     62  <sect2 role="content">
     63    <title/>
    6564
    66     <segmentedlist>
    67       <segtitle>Installed program</segtitle>
    68 
    69       <seglistitem>
    70         <seg>patch</seg>
    71       </seglistitem>
    72     </segmentedlist>
    73 
    74     <variablelist>
    75       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    76       <?dbfo list-presentation="list"?>
    77       <?dbhtml list-presentation="table"?>
    78 
    79       <varlistentry id="patch">
    80         <term><command>patch</command></term>
    81         <listitem>
    82           <para>Modifies files according to a patch file [A patch file is
    83           normally a difference listing created with the <command>diff</command>
    84           program. By applying these differences to the original files,
    85           <command>patch</command> creates the patched versions.]</para>
    86           <indexterm zone="ch-system-patch patch">
    87             <primary sortas="b-patch">patch</primary>
    88           </indexterm>
    89         </listitem>
    90       </varlistentry>
    91 
    92     </variablelist>
     65    <para>Details on this package are located in
     66    <xref linkend="contents-patch" role="."/></para>
    9367
    9468  </sect2>
Note: See TracChangeset for help on using the changeset viewer.