patch.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-patch">
  7. <title>Patch-&patch-version;</title>
  8. <?dbhtml filename="patch.html"?>
  9. <indexterm zone="ch-tools-patch">
  10. <primary sortas="a-Patch">Patch</primary>
  11. <secondary>tools</secondary></indexterm>
  12. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/para[1])"/>
  13. <screen>&buildtime; 0.1 SBU
  14. &diskspace; 1.9 MB</screen>
  15. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/para[2])"/>
  16. <sect2>
  17. <title>Installation of Patch</title>
  18. <para>Prepare Patch for compilation (the preprocessor flag
  19. <emphasis>-D_GNU_SOURCE</emphasis> is only needed on the PowerPC platform, on
  20. other architectures you can leave it out):</para>
  21. <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
  22. <para>Compile the program:</para>
  23. <screen><userinput>make</userinput></screen>
  24. <para>Then install it and its documentation:</para>
  25. <screen><userinput>make install</userinput></screen>
  26. </sect2>
  27. <sect2><title/>
  28. <para>The details on this package are found in <xref linkend="contents-patch"/>.</para>
  29. </sect2>
  30. </sect1>