Changeset fcc02767 for chapter06/patch.xml
- Timestamp:
- 06/07/2020 08:16:00 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/patch.xml
rd53fefa rfcc02767 6 6 ]> 7 7 8 <sect1 id="ch- system-patch" role="wrap">8 <sect1 id="ch-tools-patch" role="wrap"> 9 9 <?dbhtml filename="patch.html"?> 10 10 … … 17 17 <title>Patch-&patch-version;</title> 18 18 19 <indexterm zone="ch- system-patch">19 <indexterm zone="ch-tools-patch"> 20 20 <primary sortas="a-Patch">Patch</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 < para>The Patch package contains a program for modifying or creating files27 by applying a <quote>patch</quote> file typically created by the28 <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])"/> 29 30 30 31 <segmentedlist> … … 33 34 34 35 <seglistitem> 35 <seg>&patch-ch 6-sbu;</seg>36 <seg>&patch-ch 6-du;</seg>36 <seg>&patch-ch5-sbu;</seg> 37 <seg>&patch-ch5-du;</seg> 37 38 </seglistitem> 38 39 </segmentedlist> … … 45 46 <para>Prepare Patch for compilation:</para> 46 47 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> 48 51 49 52 <para>Compile the package:</para> … … 51 54 <screen><userinput remap="make">make</userinput></screen> 52 55 53 <para>To test the results, issue:</para>54 55 <screen><userinput remap="test">make check</userinput></screen>56 57 56 <para>Install the package:</para> 58 57 59 <screen><userinput remap="install">make install</userinput></screen>58 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 60 59 61 60 </sect2> 62 61 63 <sect2 id="contents-patch"role="content">64 <title >Contents of Patch</title>62 <sect2 role="content"> 63 <title/> 65 64 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> 93 67 94 68 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.