Add patches for mpfr, binutils, glibc, bash
[linux_from_scratch.git] / chapter03 / patches.xml
blob4ec3464d8f83e72f93ca4b6e169531136a2589a6
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 ]>
8 <sect1 id="materials-patches">
9   <?dbhtml filename="patches.html"?>
11   <title>Needed Patches</title>
13   <para>In addition to the packages, several patches are also required.
14   These patches correct any mistakes in the packages that should be
15   fixed by the maintainer.  The patches also make small modifications to
16   make the packages easier to work with. The following patches will be
17   needed to build an LFS system:</para>
19   <variablelist role="materials">
21     <varlistentry>
22       <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
23       <listitem>
24         <para>Download: <ulink url="&patches-root;&bash-fixes-patch;"/></para>
25         <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
26       </listitem>
27     </varlistentry>
29     <varlistentry>
30       <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term>
31       <listitem>
32         <para>Download: <ulink url="&patches-root;&bc-memory-leak-patch;"/></para>
33         <para>MD5 sum: <literal>&bc-memory-leak-patch-md5;</literal></para>
34       </listitem>
35     </varlistentry>
36     <varlistentry>
37       <term>Binutils Upstream Patch - <token>&binutils-upstream-patch-size;</token>:</term>
38       <listitem>
39         <para>Download: <ulink url="&patches-root;&binutils-upstream-patch;"/></para>
40         <para>MD5 sum: <literal>&binutils-upstream-patch-md5;</literal></para>
41       </listitem>
42     </varlistentry>
44     <varlistentry>
45       <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
46       <listitem>
47         <para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para>
48         <para>MD5 sum: <literal>&bzip2-docs-patch-md5;</literal></para>
49       </listitem>
50     </varlistentry>
52     <varlistentry>
53       <term>Coreutils Internationalization Fixes Patch - <token>&coreutils-i18n-patch-size;</token>:</term>
54       <listitem>
55         <para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
56         <para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
57       </listitem>
58     </varlistentry>
60 <!--    <varlistentry>
61       <term>Gcc Upstream Patch - <token>&gcc-upstream-patch-size;</token>:</term>
62       <listitem>
63         <para>Download: <ulink url="&patches-root;&gcc-upstream-patch;"/></para>
64         <para>MD5 sum: <literal>&gcc-upstream-patch-md5;</literal></para>
65       </listitem>
66     </varlistentry> -->
68     <varlistentry>
69       <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
70       <listitem>
71         <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para>
72         <para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para>
73       </listitem>
74     </varlistentry>
76     <varlistentry>
77       <term>Glibc i386 Patch - <token>&glibc-upstream-patch-size;</token>:</term>
78       <listitem>
79         <para>Download: <ulink url="&patches-root;&glibc-upstream-patch;"/></para>
80         <para>MD5 sum: <literal>&glibc-upstream-patch-md5;</literal></para>
81       </listitem>
82     </varlistentry>
84     <varlistentry>
85       <term>Glibc Largefile Patch - <token>&glibc-largefile-patch-size;</token>:</term>
86       <listitem>
87         <para>Download: <ulink url="&patches-root;&glibc-largefile-patch;"/></para>
88         <para>MD5 sum: <literal>&glibc-largefile-patch-md5;</literal></para>
89       </listitem>
90     </varlistentry>
92     <varlistentry>
93       <term>Glibc Upstream Patch - <token>&glibc-upstream-patch2-size;</token>:</term>
94       <listitem>
95         <para>Download: <ulink url="&patches-root;&glibc-upstream-patch2;"/></para>
96         <para>MD5 sum:  <literal>&glibc-upstream-patch2-md5;</literal></para>
97       </listitem>
98     </varlistentry>
100     <varlistentry>
101       <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
102       <listitem>
103         <para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
104         <para>MD5 sum: <literal>&kbd-backspace-patch-md5;</literal></para>
105       </listitem>
106     </varlistentry>
108     <varlistentry>
109       <term>MPFR Upstream Fixes Patch - <token>&mpfr-upstream-patch-size;</token>:</term>
110       <listitem>
111         <para>Download: <ulink url="&patches-root;&mpfr-upstream-patch;"/></para>
112         <para>MD5 sum: <literal>&mpfr-upstream-patch-md5;</literal></para>
113       </listitem>
114     </varlistentry>
116     <varlistentry>
117       <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
118       <listitem>
119         <para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para>
120         <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
121       </listitem>
122     </varlistentry>
124     <varlistentry>
125       <term>Systemd Compat Patch - <token>&systemd-compat-patch-size;</token>:</term>
126       <listitem>
127         <para>Download: <ulink url="&patches-root;&systemd-compat-patch;"/></para>
128         <para>MD5 sum: <literal>&systemd-compat-patch-md5;</literal></para>
129       </listitem>
130     </varlistentry>
131   </variablelist>
133   <para>Total size of these patches: about <returnvalue/></para>
135   <para>In addition to the above required patches, there exist a number of
136   optional patches created by the LFS community. These optional patches
137   solve minor problems or enable functionality that is not enabled by
138   default. Feel free to peruse the patches database located at
139   <ulink url="&lfs-root;patches/downloads/"/> and acquire any additional
140   patches to suit your system needs.</para>
142 </sect1>