source: BOOK/final-system/common/patch.xml@ 466d0930

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 466d0930 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[3f8be484]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-patch" role="wrap">
11 <?dbhtml filename="patch.html"?>
12
13 <title>Patch-&patch-version;</title>
14
15 <indexterm zone="ch-system-patch">
16 <primary sortas="a-Patch">Patch</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Patch package contains a program for modifying or creating
23 files by applying a <quote>patch</quote> file typically created by the
24 <command>diff</command> program.</para>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <segmentedlist>
37 <segtitle>&dependencies;</segtitle>
38
39 <seglistitem>
40 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc,
41 Grep, Make, and Sed</seg>
42 </seglistitem>
43 </segmentedlist>
44
45 </sect2>
46
47 <sect2 role="installation">
48 <title>Installation of Patch</title>
49
50 <para>Prepare Patch for compilation:</para>
51
52<screen><userinput>./configure --prefix=/usr</userinput></screen>
53
54 <para>Compile the package:</para>
55
56<screen><userinput>make</userinput></screen>
57
58 <para>This package does not come with a test suite.</para>
59
60 <para>Install the package:</para>
61
62<screen><userinput>make install</userinput></screen>
63
64 </sect2>
65
66 <sect2 id="contents-patch" role="content">
67 <title>Contents of Patch</title>
68
69 <segmentedlist>
70 <segtitle>Installed program</segtitle>
71
72 <seglistitem>
73 <seg>patch</seg>
74 </seglistitem>
75 </segmentedlist>
76
77 <variablelist>
78 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
79 <?dbfo list-presentation="list"?>
80 <?dbhtml list-presentation="table"?>
81
82 <varlistentry id="patch">
83 <term><command>patch</command></term>
84 <listitem>
85 <para>Modifies files according to a patch file. A patch file is
86 normally a difference listing created with the <command>diff</command>
87 program. By applying these differences to the original files,
88 <command>patch</command> creates the patched versions.</para>
89 <indexterm zone="ch-system-patch patch">
90 <primary sortas="b-patch">patch</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 </variablelist>
96
97 </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.