aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/patch.xml
blob: 8a8be965ae2e967b7d844421eea46a718a3ad939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<sect1 id="ch-system-patch" xreflabel="Patch">
<title>Installing Patch-&patch-version;</title>
<?dbhtml filename="patch.html" dir="chapter06"?>

<para>The Patch package contains a program for modifying files.</para>

<screen>&buildtime; &patch-time;
&diskspace; &patch-compsize;</screen>

&aa-patch-down;
&aa-patch-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Patch</title>

<para>Prepare Patch for compilation (the preprocessor flag
<emphasis>-D_GNU_SOURCE</emphasis> is only needed on PowerPCs, on other
machines you can leave it out):</para>

<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>

<para>Compile the package:</para>

<screen><userinput>make</userinput></screen>

<para>And install it:</para>

<screen><userinput>make install</userinput></screen>

</sect2>

&aa-patch-shortdesc;
&aa-patch-desc;

</sect1>