[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[3b45abb] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[3b45abb] | 7 |
|
---|
[9652249] | 8 | <sect1 id="ch-tools-patch" role="wrap">
|
---|
[3b45abb] | 9 | <?dbhtml filename="patch.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Patch-&patch-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-tools-patch">
|
---|
| 14 | <primary sortas="a-Patch">Patch</primary>
|
---|
| 15 | <secondary>tools</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <sect2 role="package">
|
---|
| 19 | <title/>
|
---|
[a3f60e1e] | 20 |
|
---|
[3b45abb] | 21 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 22 | href="../chapter06/patch.xml"
|
---|
| 23 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[81fd230] | 24 |
|
---|
[3b45abb] | 25 | <segmentedlist>
|
---|
| 26 | <segtitle>&buildtime;</segtitle>
|
---|
| 27 | <segtitle>&diskspace;</segtitle>
|
---|
[673b0d8] | 28 |
|
---|
[3b45abb] | 29 | <seglistitem>
|
---|
| 30 | <seg>0.1 SBU</seg>
|
---|
| 31 | <seg>1.5 MB</seg>
|
---|
| 32 | </seglistitem>
|
---|
| 33 | </segmentedlist>
|
---|
[673b0d8] | 34 |
|
---|
[3b45abb] | 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 36 | href="../chapter06/patch.xml"
|
---|
| 37 | xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
|
---|
[81fd230] | 38 |
|
---|
[3b45abb] | 39 | </sect2>
|
---|
[73aedd1d] | 40 |
|
---|
[3b45abb] | 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Patch</title>
|
---|
[73aedd1d] | 43 |
|
---|
[3b45abb] | 44 | <para>Prepare Patch for compilation:</para>
|
---|
[73aedd1d] | 45 |
|
---|
| 46 | <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
|
---|
| 47 |
|
---|
[3b45abb] | 48 | <para>The preprocessor flag <parameter>-D_GNU_SOURCE</parameter> is
|
---|
| 49 | only needed on the PowerPC platform. It can be left out on other
|
---|
| 50 | architectures.</para>
|
---|
[81fd230] | 51 |
|
---|
[3b45abb] | 52 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 53 |
|
---|
[b3adaba] | 54 | <screen><userinput>make</userinput></screen>
|
---|
[73aedd1d] | 55 |
|
---|
[3b45abb] | 56 | <para>This package does not come with a test suite.</para>
|
---|
[81fd230] | 57 |
|
---|
[3b45abb] | 58 | <para>Install the package:</para>
|
---|
[73aedd1d] | 59 |
|
---|
| 60 | <screen><userinput>make install</userinput></screen>
|
---|
| 61 |
|
---|
[3b45abb] | 62 | </sect2>
|
---|
[a3f60e1e] | 63 |
|
---|
[3b45abb] | 64 | <sect2 role="content">
|
---|
| 65 | <title/>
|
---|
[81fd230] | 66 |
|
---|
[3b45abb] | 67 | <para>Details on this package are located in
|
---|
| 68 | <xref linkend="contents-patch" role="."/></para>
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
[81fd230] | 71 |
|
---|
[3b45abb] | 72 | </sect1>
|
---|