patch.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. <!ENTITY % patches-entities SYSTEM "../patches.ent">
  5. %general-entities;
  6. %patches-entities;
  7. ]>
  8. <sect1 id="ch-tools-patch" role="wrap">
  9. <title>Patch-&patch-version;</title>
  10. <?dbhtml filename="patch.html"?>
  11. <indexterm zone="ch-tools-patch">
  12. <primary sortas="a-Patch">Patch</primary>
  13. <secondary>tools</secondary></indexterm>
  14. <sect2 role="package"><title/>
  15. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  16. <segmentedlist>
  17. <segtitle>&buildtime;</segtitle>
  18. <segtitle>&diskspace;</segtitle>
  19. <seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem>
  20. </segmentedlist>
  21. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Patch</title>
  25. <para>Prepare Patch for compilation:</para>
  26. <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
  27. <para>The preprocessor flag <parameter>-D_GNU_SOURCE</parameter> is
  28. only needed on the PowerPC platform. It can be left out on other
  29. architectures.</para>
  30. <para>Compile the package:</para>
  31. <screen><userinput>make</userinput></screen>
  32. <para>This package does not come with a test suite.</para>
  33. <para>Install the package:</para>
  34. <screen><userinput>make install</userinput></screen>
  35. </sect2>
  36. <sect2 role="content"><title/>
  37. <para>Details on this package are located in <xref
  38. linkend="contents-patch" role="."/></para>
  39. </sect2>
  40. </sect1>