source: final-system/common/patch.xml@ 5372ded

Last change on this file since 5372ded was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 2.3 KB
Line 
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 <segmentedlist>
25 <segtitle>&dependencies;</segtitle>
26
27 <seglistitem>
28 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc,
29 Grep, Make, and Sed</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of Patch</title>
37
38 <para>Prepare Patch for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr</userinput></screen>
41
42 <para>Compile the package:</para>
43
44<screen><userinput>make</userinput></screen>
45
46 <para>This package does not come with a test suite.</para>
47
48 <para>Install the package:</para>
49
50<screen><userinput>make install</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-patch" role="content">
55 <title>Contents of Patch</title>
56
57 <segmentedlist>
58 <segtitle>Installed program</segtitle>
59
60 <seglistitem>
61 <seg>patch</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="patch">
71 <term><command>patch</command></term>
72 <listitem>
73 <para>Modifies files according to a patch file. A patch file is
74 normally a difference listing created with the <command>diff</command>
75 program. By applying these differences to the original files,
76 <command>patch</command> creates the patched versions.</para>
77 <indexterm zone="ch-system-patch patch">
78 <primary sortas="b-patch">patch</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 </variablelist>
84
85 </sect2>
86
87</sect1>
Note: See TracBrowser for help on using the repository browser.