[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-patch" role="wrap">
|
---|
| 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/>
|
---|
| 19 |
|
---|
| 20 | <para>The Patch package contains a program for modifying or creating
|
---|
| 21 | files by applying a <quote>patch</quote> file typically created by the
|
---|
| 22 | <command>diff</command> program.</para>
|
---|
| 23 |
|
---|
| 24 | </sect2>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="installation">
|
---|
| 27 | <title>Installation of Patch</title>
|
---|
| 28 |
|
---|
[e6423a01] | 29 | <para os="a">Prepare Patch for compilation:</para>
|
---|
[bf8c11f] | 30 |
|
---|
[e6423a01] | 31 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[bf8c11f] | 32 |
|
---|
[e6423a01] | 33 | <para os="c">Compile the package:</para>
|
---|
[bf8c11f] | 34 |
|
---|
[e6423a01] | 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[bf8c11f] | 36 |
|
---|
[e6423a01] | 37 | <para os="e">This package does not come with a test suite.</para>
|
---|
[bf8c11f] | 38 |
|
---|
[e6423a01] | 39 | <para os="f">Install the package:</para>
|
---|
[bf8c11f] | 40 |
|
---|
[e6423a01] | 41 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[bf8c11f] | 42 |
|
---|
| 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2 id="contents-patch" role="content">
|
---|
| 46 | <title>Contents of Patch</title>
|
---|
| 47 |
|
---|
| 48 | <segmentedlist>
|
---|
| 49 | <segtitle>Installed program</segtitle>
|
---|
| 50 |
|
---|
| 51 | <seglistitem>
|
---|
| 52 | <seg>patch</seg>
|
---|
| 53 | </seglistitem>
|
---|
| 54 | </segmentedlist>
|
---|
| 55 |
|
---|
| 56 | <variablelist>
|
---|
| 57 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 58 | <?dbfo list-presentation="list"?>
|
---|
| 59 | <?dbhtml list-presentation="table"?>
|
---|
| 60 |
|
---|
| 61 | <varlistentry id="patch">
|
---|
| 62 | <term><command>patch</command></term>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Modifies files according to a patch file. A patch file is
|
---|
| 65 | normally a difference listing created with the <command>diff</command>
|
---|
| 66 | program. By applying these differences to the original files,
|
---|
| 67 | <command>patch</command> creates the patched versions.</para>
|
---|
| 68 | <indexterm zone="ch-system-patch patch">
|
---|
| 69 | <primary sortas="b-patch">patch</primary>
|
---|
| 70 | </indexterm>
|
---|
| 71 | </listitem>
|
---|
| 72 | </varlistentry>
|
---|
| 73 |
|
---|
| 74 | </variablelist>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | </sect1>
|
---|