source: chapter06/patch.xml@ a0e1913

Last change on this file since a0e1913 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4691 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c2133bc]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-patch" role="wrap">
[673b0d8]7<title>Patch-&patch-version;</title>
8<?dbhtml filename="patch.html"?>
9
10<indexterm zone="ch-system-patch"><primary sortas="a-Patch">Patch</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[5888299]13<para>The Patch package contains a program for modifying files.</para>
14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.1 SBU</seg><seg>1.9 MB</seg></seglistitem>
19</segmentedlist>
[673b0d8]20
[a001133]21<segmentedlist>
[a0e1913]22<segtitle>&dependencies;</segtitle>
[a001133]23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
[69993f4]24GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
[a001133]25</segmentedlist>
26</sect2>
[3554fa3a]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Patch</title>
30
[a52c8c2]31<para>Prepare Patch for compilation:</para>
[73aedd1d]32
[a50b6b7]33<screen arch="x86;alpha;raq2"><userinput>./configure --prefix=/tools</userinput></screen>
[a52c8c2]34
35<screen arch="ppc"><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
[73aedd1d]36
37<para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
[0cb7f8b]41<para>This package does not come with a test suite.</para>
42
[ef13657]43<para>Install the package:</para>
[73aedd1d]44
45<screen><userinput>make install</userinput></screen>
46
47</sect2>
[6370fa6]48
[5888299]49
[c6cb3aa]50<sect2 id="contents-patch" role="content"><title>Contents of Patch</title>
[673b0d8]51
[c6cb3aa]52<segmentedlist>
53<segtitle>Installed program</segtitle>
54<seglistitem><seg>patch</seg></seglistitem>
55</segmentedlist>
[6370fa6]56
[2256873]57<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]58<?dbfo list-presentation="list"?>
[c5f9180]59<?dbhtml list-presentation="table"?>
[673b0d8]60
[b8a819f]61<varlistentry id="patch">
62<term><command>patch</command></term>
[c6cb3aa]63<listitem>
[2256873]64<para>Modifies files according to a patch file. A patch file is normally
[69993f4]65a difference listing created with the <command>diff</command> program. By applying
[ef13657]66these differences to the original files, <command>patch</command> creates the patched
67versions.</para>
[3ed279f]68<indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm>
[c6cb3aa]69</listitem>
70</varlistentry>
71</variablelist>
[673b0d8]72
73</sect2>
74
75</sect1>
[ef13657]76
Note: See TracBrowser for help on using the repository browser.