source: chapter06/patch.xml@ 9c80e02

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 9c80e02 was 9c80e02, checked in by Jeremy Huntwork <jhuntwork@…>, 19 years ago

Added quote tags in patch.xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6009 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-system-patch" role="wrap">
9<title>Patch-&patch-version;</title>
10<?dbhtml filename="patch.html"?>
11
12<indexterm zone="ch-system-patch"><primary sortas="a-Patch">Patch</primary></indexterm>
13
14<sect2 role="package"><title/>
15<para>The Patch package contains a program for modifying or creating files by
16applying a <quote>patch</quote> file typically created by the diff program.</para>
17
18<segmentedlist>
19<segtitle>&buildtime;</segtitle>
20<segtitle>&diskspace;</segtitle>
21<seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem>
22</segmentedlist>
23
24<segmentedlist>
25<segtitle>&dependencies;</segtitle>
26<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
27GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
28</segmentedlist>
29</sect2>
30
31<sect2 role="installation">
32<title>Installation of Patch</title>
33
34<para>Prepare Patch for compilation. The preprocessor flag
35<parameter>-D_GNU_SOURCE</parameter> is only needed on the PowerPC
36platform. It can be left it out on other architectures:</para>
37
38<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44<para>This package does not come with a test suite.</para>
45
46<para>Install the package:</para>
47
48<screen><userinput>make install</userinput></screen>
49
50</sect2>
51
52
53<sect2 id="contents-patch" role="content"><title>Contents of Patch</title>
54
55<segmentedlist>
56<segtitle>Installed program</segtitle>
57<seglistitem><seg>patch</seg></seglistitem>
58</segmentedlist>
59
60<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
61<?dbfo list-presentation="list"?>
62<?dbhtml list-presentation="table"?>
63
64<varlistentry id="patch">
65<term><command>patch</command></term>
66<listitem>
67<para>Modifies files according to a patch file. A patch file is normally
68a difference listing created with the <command>diff</command> program. By applying
69these differences to the original files, <command>patch</command> creates the patched
70versions.</para>
71<indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm>
72</listitem>
73</varlistentry>
74</variablelist>
75
76</sect2>
77
78</sect1>
79
Note: See TracBrowser for help on using the repository browser.