[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[752f4e5] | 6 | <sect1 id="ch-system-patch" role="wrap">
|
---|
[673b0d8] | 7 | <title>Patch-&patch-version;</title>
|
---|
| 8 | <?dbhtml filename="patch.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-patch"><primary sortas="a-Patch">Patch</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Patch package contains a program for modifying files.</para>
|
---|
| 14 |
|
---|
[a001133] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
| 18 | <seglistitem><seg>0.1 SBU</seg><seg>1.9 MB</seg></seglistitem>
|
---|
| 19 | </segmentedlist>
|
---|
[673b0d8] | 20 |
|
---|
[a001133] | 21 | <segmentedlist>
|
---|
| 22 | <segtitle>Patch installation depends on</segtitle>
|
---|
| 23 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
[69993f4] | 24 | GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
---|
[a001133] | 25 | </segmentedlist>
|
---|
| 26 | </sect2>
|
---|
[3554fa3a] | 27 |
|
---|
[a001133] | 28 | <sect2 role="installation">
|
---|
[73aedd1d] | 29 | <title>Installation of Patch</title>
|
---|
| 30 |
|
---|
[a52c8c2] | 31 | <para>Prepare Patch for compilation:</para>
|
---|
[73aedd1d] | 32 |
|
---|
[a52c8c2] | 33 | <!-- This is temporally until can test if there is other ways to do it -->
|
---|
| 34 |
|
---|
| 35 | <screen arch="x86"><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <screen arch="raq2"><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
| 38 |
|
---|
| 39 | <screen arch="ppc"><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
|
---|
[73aedd1d] | 40 |
|
---|
| 41 | <para>Compile the package:</para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput>make</userinput></screen>
|
---|
| 44 |
|
---|
[0cb7f8b] | 45 | <para>This package does not come with a test suite.</para>
|
---|
| 46 |
|
---|
[ef13657] | 47 | <para>Install the package:</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <screen><userinput>make install</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
[6370fa6] | 52 |
|
---|
[5888299] | 53 |
|
---|
[c6cb3aa] | 54 | <sect2 id="contents-patch" role="content"><title>Contents of Patch</title>
|
---|
[673b0d8] | 55 |
|
---|
[c6cb3aa] | 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed program</segtitle>
|
---|
| 58 | <seglistitem><seg>patch</seg></seglistitem>
|
---|
| 59 | </segmentedlist>
|
---|
[6370fa6] | 60 |
|
---|
[2256873] | 61 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[3ed279f] | 62 | <?dbfo list-presentation="list"?>
|
---|
[673b0d8] | 63 |
|
---|
[b8a819f] | 64 | <varlistentry id="patch">
|
---|
| 65 | <term><command>patch</command></term>
|
---|
[c6cb3aa] | 66 | <listitem>
|
---|
[2256873] | 67 | <para>Modifies files according to a patch file. A patch file is normally
|
---|
[69993f4] | 68 | a difference listing created with the <command>diff</command> program. By applying
|
---|
[ef13657] | 69 | these differences to the original files, <command>patch</command> creates the patched
|
---|
| 70 | versions.</para>
|
---|
[3ed279f] | 71 | <indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm>
|
---|
[c6cb3aa] | 72 | </listitem>
|
---|
| 73 | </varlistentry>
|
---|
| 74 | </variablelist>
|
---|
[673b0d8] | 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | </sect1>
|
---|
[ef13657] | 79 |
|
---|