patch.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.4/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>0.1 SBU</seg>
  23. <seg>1.5 MB</seg>
  24. </seglistitem>
  25. </segmentedlist>
  26. <segmentedlist>
  27. <segtitle>&dependencies;</segtitle>
  28. <seglistitem>
  29. <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
  30. and Sed</seg>
  31. </seglistitem>
  32. </segmentedlist>
  33. </sect2>
  34. <sect2 role="installation">
  35. <title>Installation of Patch</title>
  36. <para>Prepare Patch for compilation.</para>
  37. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  38. <para>Compile the package:</para>
  39. <screen><userinput>make</userinput></screen>
  40. <para>This package does not come with a test suite.</para>
  41. <para>Install the package:</para>
  42. <screen><userinput>make install</userinput></screen>
  43. </sect2>
  44. <sect2 id="contents-patch" role="content">
  45. <title>Contents of Patch</title>
  46. <segmentedlist>
  47. <segtitle>Installed program</segtitle>
  48. <seglistitem>
  49. <seg>patch</seg>
  50. </seglistitem>
  51. </segmentedlist>
  52. <variablelist>
  53. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  54. <?dbfo list-presentation="list"?>
  55. <?dbhtml list-presentation="table"?>
  56. <varlistentry id="patch">
  57. <term><command>patch</command></term>
  58. <listitem>
  59. <para>Modifies files according to a patch file. A patch file is
  60. normally a difference listing created with the <command>diff</command>
  61. program. By applying these differences to the original files,
  62. <command>patch</command> creates the patched versions.</para>
  63. <indexterm zone="ch-system-patch patch">
  64. <primary sortas="b-patch">patch</primary>
  65. </indexterm>
  66. </listitem>
  67. </varlistentry>
  68. </variablelist>
  69. </sect2>
  70. </sect1>