patch.xml 942 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <sect1 id="ch06-patch" xreflabel="Patch">
  2. <title>Installing Patch-&patch-version;</title>
  3. <?dbhtml filename="patch.html" dir="chapter06"?>
  4. <para>The Patch package contains a program for modifying files.</para>
  5. <screen>&buildtime; &patch-time;
  6. &diskspace; &patch-compsize;</screen>
  7. &aa-patch-down;
  8. &aa-patch-dep;
  9. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  10. <sect2>
  11. <title>Installation of Patch</title>
  12. <para>Prepare Patch for compilation:</para>
  13. <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
  14. <para>Again, the preprocessor flag <userinput>-D_GNU_SOURCE</userinput> is only
  15. needed on the PowerPC platform. On other architectures you can leave it out.</para>
  16. <para>Compile the package:</para>
  17. <screen><userinput>make</userinput></screen>
  18. <para>And install it:</para>
  19. <screen><userinput>make install</userinput></screen>
  20. </sect2>
  21. &aa-patch-shortdesc;
  22. &aa-patch-desc;
  23. </sect1>