aboutsummaryrefslogtreecommitdiffstats
path: root/chapter03/patches.xml
blob: 4d70b05270ed4b09668f64ce1df77cf422f3e013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>

<sect1 id="materials-patches">
  <?dbhtml filename="patches.html"?>

  <title>Needed Patches</title>

  <para>In addition to the packages, several patches are also required.
  These patches correct any mistakes in the packages that should be
  fixed by the maintainer.  The patches also make small modifications to
  make the packages easier to work with. The following patches will be
  needed to build an LFS system:</para>

  <variablelist role="materials">

    <varlistentry>
      <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&bash-fixes-patch;"/></para>
        <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para>
        <para>MD5 sum: <literal>&bzip2-docs-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Coreutils Internationalization Fixes Patch - <token>&coreutils-i18n-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
        <para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Coreutils Sparse-Fiemap Test Fix Patch - <token>&coreutils-sparse_fiemap-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&coreutils-sparse_fiemap-patch;"/></para>
        <para>MD5 sum: <literal>&coreutils-sparse_fiemap-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&coreutils-uname-patch;"/></para>
        <para>MD5 sum: <literal>&coreutils-uname-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Flex GCC-4.4.x Patch - <token>&flex-gcc-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&flex-gcc-patch;"/></para>
        <para>MD5 sum: <literal>&flex-gcc-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>GCC Cross Compile Patch - <token>&gcc-crosscompile-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&gcc-crosscompile-patch;"/></para>
        <para>MD5 sum: <literal>&gcc-crosscompile-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&gcc-startfiles-patch;"/></para>
        <para>MD5 sum: <literal>&gcc-startfiles-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Glibc GCC Build Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&glibc-gcc_fix-patch;"/></para>
        <para>MD5 sum: <literal>&glibc-gcc_fix-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

<!--
    <varlistentry>
      <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&grub-geometry-patch;"/></para>
        <para>MD5 sum: <literal>&grub-geometry-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>GRUB 256-Byte Inodes Patch - <token>&grub-inode-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&grub-inode-patch;"/></para>
        <para>MD5 sum: <literal>&grub-inode-patch-md5;</literal></para>
      </listitem>
    </varlistentry>
-->
    <varlistentry>
      <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
        <para>MD5 sum: <literal>&kbd-backspace-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Patch Testsuite Fix Patch - <token>&patch-test-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&patch-test-patch;"/></para>
        <para>MD5 sum: <literal>&patch-test-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&perl-libc-patch;"/></para>
        <para>MD5 sum: <literal>&perl-libc-patch-md5;</literal></para>
      </listitem>
    </varlistentry>


    <varlistentry>
      <term>Procps HZ Errors Patch - <token>&procps-hz_fixes-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&procps-hz_fixes-patch;"/></para>
        <para>MD5 sum: <literal>&procps-hz_fixes-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Procps Watch Patch - <token>&procps-watch-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&procps-watch-patch;"/></para>
        <para>MD5 sum: <literal>&procps-watch-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para>
        <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <varlistentry>
      <term>Udev V4L Patch - <token>&udev-v4l-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&udev-v4l-patch;"/></para>
        <para>MD5 sum: <literal>&udev-v4l-patch-md5;</literal></para>
      </listitem>
    </varlistentry>

    <!-- <varlistentry>
      <term>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&shadow-useradd-patch;"/></para>
        <para>MD5 sum: <literal>&shadow-useradd-patch-md5;</literal></para>
      </listitem>
    </varlistentry> -->

    <!--<varlistentry>
      <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term>
      <listitem>
        <para>Download: <ulink url="&patches-root;&zlib-fpic-patch;"/></para>
        <para>MD5 sum: <literal>&zlib-fpic-patch-md5;</literal></para>
      </listitem>
    </varlistentry>-->

  </variablelist>

  <para>Total size of these patches: about <returnvalue/></para>

  <para>In addition to the above required patches, there exist a number of
  optional patches created by the LFS community. These optional patches
  solve minor problems or enable functionality that is not enabled by
  default. Feel free to peruse the patches database located at
  <ulink url="&lfs-root;patches/downloads/"/> and acquire any additional
  patches to suit your system needs.</para>

</sect1>