patch.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <sect1 id="ch-tools-patch" role="wrap">
  8. <?dbhtml filename="patch.html"?>
  9. <title>Patch-&patch-version;</title>
  10. <indexterm zone="ch-tools-patch">
  11. <primary sortas="a-Patch">Patch</primary>
  12. <secondary>tools</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  17. href="../chapter06/patch.xml"
  18. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  19. <segmentedlist>
  20. <segtitle>&buildtime;</segtitle>
  21. <segtitle>&diskspace;</segtitle>
  22. <seglistitem>
  23. <seg>0.1 SBU</seg>
  24. <seg>1.5 MB</seg>
  25. </seglistitem>
  26. </segmentedlist>
  27. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  28. href="../chapter06/patch.xml"
  29. xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Patch</title>
  33. <para>Prepare Patch for compilation:</para>
  34. <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
  35. <para>The preprocessor flag <parameter>-D_GNU_SOURCE</parameter> is
  36. only needed on the PowerPC platform. It can be left out on other
  37. architectures.</para>
  38. <para>Compile the package:</para>
  39. <screen><userinput>make</userinput></screen>
  40. <para>This package does not come with a test suite.</para>
  41. <para>Install the package:</para>
  42. <screen><userinput>make install</userinput></screen>
  43. </sect2>
  44. <sect2 role="content">
  45. <title/>
  46. <para>Details on this package are located in
  47. <xref linkend="contents-patch" role="."/></para>
  48. </sect2>
  49. </sect1>