[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[2fa922f] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-patch" role="wrap">
|
---|
[2fa922f] | 9 | <?dbhtml filename="patch.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Patch-&patch-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-patch">
|
---|
| 14 | <primary sortas="a-Patch">Patch</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
[673b0d8] | 19 |
|
---|
[2fa922f] | 20 | <para>The Patch package contains a program for modifying or creating files
|
---|
| 21 | by applying a <quote>patch</quote> file typically created by the
|
---|
| 22 | <command>diff</command> program.</para>
|
---|
[6370fa6] | 23 |
|
---|
[2fa922f] | 24 | <segmentedlist>
|
---|
| 25 | <segtitle>&buildtime;</segtitle>
|
---|
| 26 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 27 |
|
---|
[2fa922f] | 28 | <seglistitem>
|
---|
[e4a5635] | 29 | <seg>&patch-ch6-sbu;</seg>
|
---|
| 30 | <seg>&patch-ch6-du;</seg>
|
---|
[2fa922f] | 31 | </seglistitem>
|
---|
| 32 | </segmentedlist>
|
---|
[673b0d8] | 33 |
|
---|
[2fa922f] | 34 | </sect2>
|
---|
| 35 |
|
---|
| 36 | <sect2 role="installation">
|
---|
| 37 | <title>Installation of Patch</title>
|
---|
| 38 |
|
---|
| 39 | <para>Prepare Patch for compilation.</para>
|
---|
[73aedd1d] | 40 |
|
---|
[9c9c8e19] | 41 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[73aedd1d] | 42 |
|
---|
[2fa922f] | 43 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 44 |
|
---|
| 45 | <screen><userinput>make</userinput></screen>
|
---|
| 46 |
|
---|
[2fa922f] | 47 | <para>This package does not come with a test suite.</para>
|
---|
[81fd230] | 48 |
|
---|
[2fa922f] | 49 | <para>Install the package:</para>
|
---|
[73aedd1d] | 50 |
|
---|
| 51 | <screen><userinput>make install</userinput></screen>
|
---|
| 52 |
|
---|
[2fa922f] | 53 | </sect2>
|
---|
[6370fa6] | 54 |
|
---|
[2fa922f] | 55 | <sect2 id="contents-patch" role="content">
|
---|
| 56 | <title>Contents of Patch</title>
|
---|
[5888299] | 57 |
|
---|
[2fa922f] | 58 | <segmentedlist>
|
---|
| 59 | <segtitle>Installed program</segtitle>
|
---|
[673b0d8] | 60 |
|
---|
[2fa922f] | 61 | <seglistitem>
|
---|
| 62 | <seg>patch</seg>
|
---|
| 63 | </seglistitem>
|
---|
| 64 | </segmentedlist>
|
---|
[81fd230] | 65 |
|
---|
[2fa922f] | 66 | <variablelist>
|
---|
| 67 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 68 | <?dbfo list-presentation="list"?>
|
---|
| 69 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 70 |
|
---|
[2fa922f] | 71 | <varlistentry id="patch">
|
---|
| 72 | <term><command>patch</command></term>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Modifies files according to a patch file. A patch file is
|
---|
| 75 | normally a difference listing created with the <command>diff</command>
|
---|
| 76 | program. By applying these differences to the original files,
|
---|
| 77 | <command>patch</command> creates the patched versions.</para>
|
---|
| 78 | <indexterm zone="ch-system-patch patch">
|
---|
| 79 | <primary sortas="b-patch">patch</primary>
|
---|
| 80 | </indexterm>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
[673b0d8] | 83 |
|
---|
[2fa922f] | 84 | </variablelist>
|
---|
[673b0d8] | 85 |
|
---|
[2fa922f] | 86 | </sect2>
|
---|
[81fd230] | 87 |
|
---|
[2fa922f] | 88 | </sect1>
|
---|