1
0

patch.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-patch" role="wrap">
  8. <?dbhtml filename="patch.html"?>
  9. <title>Patch-&patch-version;</title>
  10. <indexterm zone="ch-system-patch">
  11. <primary sortas="a-Patch">Patch</primary>
  12. </indexterm>
  13. <sect2 role="package">
  14. <title/>
  15. <para>The Patch package contains a program for modifying or creating files
  16. by applying a <quote>patch</quote> file typically created by the
  17. <command>diff</command> program.</para>
  18. <segmentedlist>
  19. <segtitle>&buildtime;</segtitle>
  20. <segtitle>&diskspace;</segtitle>
  21. <seglistitem>
  22. <seg>&patch-ch6-sbu;</seg>
  23. <seg>&patch-ch6-du;</seg>
  24. </seglistitem>
  25. </segmentedlist>
  26. </sect2>
  27. <sect2 role="installation">
  28. <title>Installation of Patch</title>
  29. <para>Prepare Patch for compilation:</para>
  30. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  31. <para>Compile the package:</para>
  32. <screen><userinput>make</userinput></screen>
  33. <para>This package does not come with a test suite.</para>
  34. <para>Install the package:</para>
  35. <screen><userinput>make install</userinput></screen>
  36. </sect2>
  37. <sect2 id="contents-patch" role="content">
  38. <title>Contents of Patch</title>
  39. <segmentedlist>
  40. <segtitle>Installed program</segtitle>
  41. <seglistitem>
  42. <seg>patch</seg>
  43. </seglistitem>
  44. </segmentedlist>
  45. <variablelist>
  46. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  47. <?dbfo list-presentation="list"?>
  48. <?dbhtml list-presentation="table"?>
  49. <varlistentry id="patch">
  50. <term><command>patch</command></term>
  51. <listitem>
  52. <para>Modifies files according to a patch file. A patch file is
  53. normally a difference listing created with the <command>diff</command>
  54. program. By applying these differences to the original files,
  55. <command>patch</command> creates the patched versions.</para>
  56. <indexterm zone="ch-system-patch patch">
  57. <primary sortas="b-patch">patch</primary>
  58. </indexterm>
  59. </listitem>
  60. </varlistentry>
  61. </variablelist>
  62. </sect2>
  63. </sect1>