patch.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <sect1info condition="script">
  10. <productname>patch</productname>
  11. <productnumber>&patch-version;</productnumber>
  12. <address>&patch-url;</address>
  13. </sect1info>
  14. <title>Patch-&patch-version;</title>
  15. <indexterm zone="ch-system-patch">
  16. <primary sortas="a-Patch">Patch</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Patch package contains a program for modifying or creating files
  21. by applying a <quote>patch</quote> file typically created by the
  22. <command>diff</command> program.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&patch-ch6-sbu;</seg>
  28. <seg>&patch-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Patch</title>
  34. <para>Prepare Patch for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>This package does not come with a test suite.</para>
  39. <para>Install the package:</para>
  40. <screen><userinput remap="install">make install</userinput></screen>
  41. </sect2>
  42. <sect2 id="contents-patch" role="content">
  43. <title>Contents of Patch</title>
  44. <segmentedlist>
  45. <segtitle>Installed program</segtitle>
  46. <seglistitem>
  47. <seg>patch</seg>
  48. </seglistitem>
  49. </segmentedlist>
  50. <variablelist>
  51. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  52. <?dbfo list-presentation="list"?>
  53. <?dbhtml list-presentation="table"?>
  54. <varlistentry id="patch">
  55. <term><command>patch</command></term>
  56. <listitem>
  57. <para>Modifies files according to a patch file. A patch file is
  58. normally a difference listing created with the <command>diff</command>
  59. program. By applying these differences to the original files,
  60. <command>patch</command> creates the patched versions.</para>
  61. <indexterm zone="ch-system-patch patch">
  62. <primary sortas="b-patch">patch</primary>
  63. </indexterm>
  64. </listitem>
  65. </varlistentry>
  66. </variablelist>
  67. </sect2>
  68. </sect1>