[3f8be484] | 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 |
|
---|
| 8 | <sect1 id="ch-materials-patches-common">
|
---|
| 9 | <?dbhtml filename="patches.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Needed Patches</title>
|
---|
| 12 |
|
---|
[f4f631d] | 13 | <para>In addition to the packages, several patches are also required.
|
---|
[3f8be484] | 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>
|
---|
| 18 |
|
---|
| 19 | <variablelist role="materials">
|
---|
| 20 |
|
---|
[db27dcc] | 21 | <varlistentry>
|
---|
[f4f631d] | 22 | <term>Bash Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
|
---|
[abc7c11] | 23 | <listitem>
|
---|
[f41fea6] | 24 | <para>Download: <ulink
|
---|
[abc7c11] | 25 | url="&patches-root;bash/&bash-fixes-patch;"/></para>
|
---|
[f41fea6] | 26 | <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
|
---|
[abc7c11] | 27 | </listitem>
|
---|
| 28 | </varlistentry>
|
---|
| 29 |
|
---|
[db27dcc] | 30 | <varlistentry>
|
---|
[f4f631d] | 31 | <term>Binutils Posix Patch - <token>&binutils-posix-patch-size;</token>:</term>
|
---|
[3f8be484] | 32 | <listitem>
|
---|
[f41fea6] | 33 | <para>Download: <ulink
|
---|
[3f8be484] | 34 | url="&patches-root;binutils/&binutils-posix-patch;"/></para>
|
---|
[f41fea6] | 35 | <para>MD5 sum: <literal>&binutils-posix-patch-md5;</literal></para>
|
---|
[3f8be484] | 36 | </listitem>
|
---|
| 37 | </varlistentry>
|
---|
| 38 |
|
---|
[db27dcc] | 39 | <varlistentry>
|
---|
[f4f631d] | 40 | <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
|
---|
[3f8be484] | 41 | <listitem>
|
---|
[f41fea6] | 42 | <para>Download: <ulink
|
---|
[f99d122] | 43 | url="&patches-root;bzip2/&bzip2-docs-patch;"/></para>
|
---|
[f41fea6] | 44 | <para>MD5 sum: <literal>&bzip2-docs-patch-md5;</literal></para>
|
---|
[3f8be484] | 45 | </listitem>
|
---|
| 46 | </varlistentry>
|
---|
| 47 |
|
---|
[13f12ee] | 48 | <varlistentry>
|
---|
[f4f631d] | 49 | <term>Bzip2 Bzdiff Remove Tempfile - <token>&bzip2-remove_tempfile-patch-size;</token>:</term>
|
---|
[13f12ee] | 50 | <listitem>
|
---|
[f41fea6] | 51 | <para>Download: <ulink
|
---|
[13f12ee] | 52 | url="&patches-root;bzip2/&bzip2-remove_tempfile-patch;"/></para>
|
---|
[f41fea6] | 53 | <para>MD5 sum: <literal>&bzip2-remove_tempfile-patch-md5;</literal></para>
|
---|
[13f12ee] | 54 | </listitem>
|
---|
| 55 | </varlistentry>
|
---|
| 56 |
|
---|
[db27dcc] | 57 | <varlistentry>
|
---|
[f4f631d] | 58 | <term>Bzip2 Bzgrep Security Fixes Patch - <token>&bzip2-bzgrep-patch-size;</token>:</term>
|
---|
[3f8be484] | 59 | <listitem>
|
---|
[f41fea6] | 60 | <para>Download: <ulink
|
---|
[f99d122] | 61 | url="&patches-root;bzip2/&bzip2-bzgrep-patch;"/></para>
|
---|
[f41fea6] | 62 | <para>MD5 sum: <literal>&bzip2-bzgrep-patch-md5;</literal></para>
|
---|
[3f8be484] | 63 | </listitem>
|
---|
| 64 | </varlistentry>
|
---|
| 65 |
|
---|
[db27dcc] | 66 | <varlistentry>
|
---|
[f4f631d] | 67 | <term>Coreutils Suppress Uptime, Kill, Su Patch - <token>&coreutils-suppress-patch-size;</token>:</term>
|
---|
[3f8be484] | 68 | <listitem>
|
---|
[f41fea6] | 69 | <para>Download: <ulink
|
---|
[3f8be484] | 70 | url="&patches-root;coreutils/&coreutils-suppress-patch;"/></para>
|
---|
[f41fea6] | 71 | <para>MD5 sum: <literal>&coreutils-suppress-patch-md5;</literal></para>
|
---|
[3f8be484] | 72 | </listitem>
|
---|
| 73 | </varlistentry>
|
---|
| 74 |
|
---|
[db27dcc] | 75 | <varlistentry>
|
---|
[f4f631d] | 76 | <term>Expect Spawn Patch - <token>&expect-spawn-patch-size;</token>:</term>
|
---|
[3f8be484] | 77 | <listitem>
|
---|
[f41fea6] | 78 | <para>Download: <ulink
|
---|
[3f8be484] | 79 | url="&patches-root;expect/&expect-spawn-patch;"/></para>
|
---|
[f41fea6] | 80 | <para>MD5 sum: <literal>&expect-spawn-patch-md5;</literal></para>
|
---|
[3f8be484] | 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
[db27dcc] | 84 | <varlistentry>
|
---|
[f4f631d] | 85 | <term>Gawk Segfault Patch - <token>&gawk-segfault-patch-size;</token>:</term>
|
---|
[3f8be484] | 86 | <listitem>
|
---|
[f41fea6] | 87 | <para>Download: <ulink
|
---|
[3f8be484] | 88 | url="&patches-root;gawk/&gawk-segfault-patch;"/></para>
|
---|
[f41fea6] | 89 | <para>MD5 sum: <literal>&gawk-segfault-patch-md5;</literal></para>
|
---|
[3f8be484] | 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
[db27dcc] | 93 | <varlistentry>
|
---|
[f4f631d] | 94 | <term>GCC Cross Search Paths Patch - <token>&gcc-cross_search-patch-size;</token>:</term>
|
---|
[3f8be484] | 95 | <listitem>
|
---|
[f41fea6] | 96 | <para>Download: <ulink
|
---|
[3f8be484] | 97 | url="&patches-root;gcc/&gcc-cross_search-patch;"/></para>
|
---|
[f41fea6] | 98 | <para>MD5 sum: <literal>&gcc-cross_search-patch-md5;</literal></para>
|
---|
[3f8be484] | 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
[79ccd95] | 102 | <varlistentry>
|
---|
[f4f631d] | 103 | <term>GCC PR20425 Patch - <token>&gcc-PR20425-patch-size;</token>:</term>
|
---|
[79ccd95] | 104 | <listitem>
|
---|
[f41fea6] | 105 | <para>Download: <ulink
|
---|
[d835347] | 106 | url="&patches-root;gcc/&gcc-PR20425-patch;"/></para>
|
---|
[f41fea6] | 107 | <para>MD5 sum: <literal>&gcc-PR20425-patch-md5;</literal></para>
|
---|
[d835347] | 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
| 111 | <varlistentry>
|
---|
[f4f631d] | 112 | <term>GCC PR26763 Patch - <token>&gcc-PR26763-patch-size;</token>:</term>
|
---|
[d835347] | 113 | <listitem>
|
---|
[f41fea6] | 114 | <para>Download: <ulink
|
---|
[d835347] | 115 | url="&patches-root;gcc/&gcc-PR26763-patch;"/></para>
|
---|
[f41fea6] | 116 | <para>MD5 sum: <literal>&gcc-PR26763-patch-md5;</literal></para>
|
---|
[79ccd95] | 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
[db27dcc] | 120 | <varlistentry>
|
---|
[f4f631d] | 121 | <term>GCC Posix Patch - <token>&gcc-posix-patch-size;</token>:</term>
|
---|
[3f8be484] | 122 | <listitem>
|
---|
[f41fea6] | 123 | <para>Download: <ulink
|
---|
[3f8be484] | 124 | url="&patches-root;gcc/&gcc-posix-patch;"/></para>
|
---|
[f41fea6] | 125 | <para>MD5 sum: <literal>&gcc-posix-patch-md5;</literal></para>
|
---|
[3f8be484] | 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 |
|
---|
[db27dcc] | 129 | <varlistentry>
|
---|
[f4f631d] | 130 | <term>Glibc Disable linking with libgcc_eh.a - <token>&glibc-libgcc_eh-patch-size;</token>:</term>
|
---|
[3f8be484] | 131 | <listitem>
|
---|
[f41fea6] | 132 | <para>Download: <ulink
|
---|
[3f8be484] | 133 | url="&patches-root;glibc/&glibc-libgcc_eh-patch;"/></para>
|
---|
[f41fea6] | 134 | <para>MD5 sum: <literal>&glibc-libgcc_eh-patch-md5;</literal></para>
|
---|
[3f8be484] | 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
[db27dcc] | 138 | <varlistentry>
|
---|
[f4f631d] | 139 | <term>Glibc Localedef Segfault - <token>&glibc-localedef_segfault-patch-size;</token>:</term>
|
---|
[3f8be484] | 140 | <listitem>
|
---|
[f41fea6] | 141 | <para>Download: <ulink
|
---|
[3f8be484] | 142 | url="&patches-root;glibc/&glibc-localedef_segfault-patch;"/></para>
|
---|
[f41fea6] | 143 | <para>MD5 sum: <literal>&glibc-localedef_segfault-patch-md5;</literal></para>
|
---|
[3f8be484] | 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
[db27dcc] | 147 | <varlistentry>
|
---|
[f4f631d] | 148 | <term>Gzip Security Fix Patch - <token>&gzip-security_fix-patch-size;</token>:</term>
|
---|
[3f8be484] | 149 | <listitem>
|
---|
[f41fea6] | 150 | <para>Download: <ulink
|
---|
[3f8be484] | 151 | url="&patches-root;gzip/&gzip-security_fix-patch;"/></para>
|
---|
[f41fea6] | 152 | <para>MD5 sum: <literal>&gzip-security_fix-patch-md5;</literal></para>
|
---|
[3f8be484] | 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
[db27dcc] | 156 | <varlistentry>
|
---|
[f4f631d] | 157 | <term>Inetutils GCC 4.x Fixes Patch - <token>&inetutils-gcc4_fixes-patch-size;</token>:</term>
|
---|
[3f8be484] | 158 | <listitem>
|
---|
[f41fea6] | 159 | <para>Download: <ulink
|
---|
[3f8be484] | 160 | url="&patches-root;inetutils/&inetutils-gcc4_fixes-patch;"/></para>
|
---|
[942d314] | 161 | <para>MD5 sum: <literal>&inetutils-gcc4_fixes-patch-md5;</literal></para>
|
---|
[3f8be484] | 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
[db27dcc] | 165 | <varlistentry>
|
---|
[f4f631d] | 166 | <term>Inetutils No-Server-Man-Pages Patch - <token>&inetutils-man_pages-patch-size;</token>:</term>
|
---|
[3f8be484] | 167 | <listitem>
|
---|
[f41fea6] | 168 | <para>Download: <ulink
|
---|
[3f8be484] | 169 | url="&patches-root;inetutils/&inetutils-man_pages-patch;"/></para>
|
---|
[942d314] | 170 | <para>MD5 sum: <literal>&inetutils-man_pages-patch-md5;</literal></para>
|
---|
[3f8be484] | 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
[db27dcc] | 174 | <varlistentry>
|
---|
[f4f631d] | 175 | <term>KBD GCC 4.x Fixes Patch - <token>&kbd-gcc4_fixes-patch-size;</token>:</term>
|
---|
[3f8be484] | 176 | <listitem>
|
---|
[f41fea6] | 177 | <para>Download: <ulink
|
---|
[3f8be484] | 178 | url="&patches-root;kbd/&kbd-gcc4_fixes-patch;"/></para>
|
---|
[f41fea6] | 179 | <para>MD5 sum: <literal>&kbd-gcc4_fixes-patch-md5;</literal></para>
|
---|
[3f8be484] | 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
[db27dcc] | 183 | <varlistentry>
|
---|
[f4f631d] | 184 | <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term>
|
---|
[3f8be484] | 185 | <listitem>
|
---|
[f41fea6] | 186 | <para>Download: <ulink
|
---|
[3f8be484] | 187 | url="&patches-root;mktemp/&mktemp-tempfile-patch;"/></para>
|
---|
[f41fea6] | 188 | <para>MD5 sum: <literal>&mktemp-tempfile-patch-md5;</literal></para>
|
---|
[3f8be484] | 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[db27dcc] | 192 | <varlistentry>
|
---|
[f4f631d] | 193 | <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
|
---|
[3f8be484] | 194 | <listitem>
|
---|
[f41fea6] | 195 | <para>Download: <ulink
|
---|
[3f8be484] | 196 | url="&patches-root;perl/&perl-libc-patch;"/></para>
|
---|
[f41fea6] | 197 | <para>MD5 sum: <literal>&perl-libc-patch-md5;</literal></para>
|
---|
[abc7c11] | 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[db27dcc] | 201 | <varlistentry>
|
---|
[f4f631d] | 202 | <term>Readline Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
|
---|
[abc7c11] | 203 | <listitem>
|
---|
[f41fea6] | 204 | <para>Download: <ulink
|
---|
[abc7c11] | 205 | url="&patches-root;readline/&readline-fixes-patch;"/></para>
|
---|
[f41fea6] | 206 | <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
|
---|
[3f8be484] | 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
[db27dcc] | 210 | <varlistentry>
|
---|
[f4f631d] | 211 | <term>Sysklogd Fixes Patch - <token>&sysklogd-fixes-patch-size;</token>:</term>
|
---|
[3f8be484] | 212 | <listitem>
|
---|
[f41fea6] | 213 | <para>Download: <ulink
|
---|
[3f8be484] | 214 | url="&patches-root;sysklogd/&sysklogd-fixes-patch;"/></para>
|
---|
[f41fea6] | 215 | <para>MD5 sum: <literal>&sysklogd-fixes-patch-md5;</literal></para>
|
---|
[3f8be484] | 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
[db27dcc] | 219 | <varlistentry>
|
---|
[f4f631d] | 220 | <term>Tar GCC-4.x Fix Patch - <token>&tar-gcc4_fix-patch-size;</token>:</term>
|
---|
[3f8be484] | 221 | <listitem>
|
---|
[f41fea6] | 222 | <para>Download: <ulink
|
---|
[3f8be484] | 223 | url="&patches-root;tar/&tar-gcc4_fix-patch;"/></para>
|
---|
[f41fea6] | 224 | <para>MD5 sum: <literal>&tar-gcc4_fix-patch-md5;</literal></para>
|
---|
[3f8be484] | 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
[9fed2ef0] | 228 | <varlistentry>
|
---|
[f4f631d] | 229 | <term>Tar Security Fix Patch - <token>&tar-security_fixes-patch-size;</token>:</term>
|
---|
[9fed2ef0] | 230 | <listitem>
|
---|
[f41fea6] | 231 | <para>Download: <ulink
|
---|
[9fed2ef0] | 232 | url="&patches-root;tar/&tar-security_fixes-patch;"/></para>
|
---|
[f41fea6] | 233 | <para>MD5 sum: <literal>&tar-security_fixes-patch-md5;</literal></para>
|
---|
[9fed2ef0] | 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
[db27dcc] | 237 | <varlistentry>
|
---|
[f4f631d] | 238 | <term>Tar Sparse Fix Patch - <token>&tar-sparse_fix-patch-size;</token>:</term>
|
---|
[3f8be484] | 239 | <listitem>
|
---|
[f41fea6] | 240 | <para>Download: <ulink
|
---|
[3f8be484] | 241 | url="&patches-root;tar/&tar-sparse_fix-patch;"/></para>
|
---|
[f41fea6] | 242 | <para>MD5 sum: <literal>&tar-sparse_fix-patch-md5;</literal></para>
|
---|
[3f8be484] | 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[db27dcc] | 246 | <varlistentry>
|
---|
[f4f631d] | 247 | <term>Texinfo Tempfile Fix Patch - <token>&texinfo-tempfile_fix-patch-size;</token>:</term>
|
---|
[3f8be484] | 248 | <listitem>
|
---|
[f41fea6] | 249 | <para>Download: <ulink
|
---|
| 250 | url="&patches-root;texinfo/&texinfo-tempfile_fix-patch;"/></para>
|
---|
| 251 | <para>MD5 sum: <literal>&texinfo-tempfile_fix-patch-md5;</literal></para>
|
---|
[3f8be484] | 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
[db27dcc] | 255 | <varlistentry>
|
---|
[f4f631d] | 256 | <term>Util-linux Cramfs Patch - <token>&util-linux-cramfs-patch-size;</token>:</term> <listitem>
|
---|
[f41fea6] | 257 | <para>Download: <ulink
|
---|
[3f8be484] | 258 | url="&patches-root;util-linux/&util-linux-cramfs-patch;"/></para>
|
---|
[f41fea6] | 259 | <para>MD5 sum: <literal>&util-linux-cramfs-patch-md5;</literal></para>
|
---|
[3f8be484] | 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
[db27dcc] | 263 | <varlistentry>
|
---|
[f4f631d] | 264 | <term>Util-linux GCC 4.x Patch - <token>&util-linux-gcc4_fixes-patch-size;</token>:</term> <listitem>
|
---|
[f41fea6] | 265 | <para>Download: <ulink
|
---|
[3f8be484] | 266 | url="&patches-root;util-linux/&util-linux-gcc4_fixes-patch;"/></para>
|
---|
[f41fea6] | 267 | <para>MD5 sum: <literal>&util-linux-gcc4_fixes-patch-md5;</literal></para>
|
---|
[3f8be484] | 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
[6334994] | 271 | <varlistentry>
|
---|
[f4f631d] | 272 | <term>Vim Fixes Patch - <token>&vim-fixes-patch-size;</token>:</term>
|
---|
[6334994] | 273 | <listitem>
|
---|
[f41fea6] | 274 | <para>Download: <ulink
|
---|
[6334994] | 275 | url="&patches-root;vim/&vim-fixes-patch;"/></para>
|
---|
[f41fea6] | 276 | <para>MD5 sum: <literal>&vim-fixes-patch-md5;</literal></para>
|
---|
[6334994] | 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
[db27dcc] | 280 | <varlistentry>
|
---|
[f4f631d] | 281 | <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term> <listitem>
|
---|
[f41fea6] | 282 | <para>Download: <ulink
|
---|
[27178ae] | 283 | url="&patches-root;zlib/&zlib-fpic-patch;"/></para>
|
---|
[f41fea6] | 284 | <para>MD5 sum: <literal>&zlib-fpic-patch-md5;</literal></para>
|
---|
[27178ae] | 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
[3f8be484] | 288 | </variablelist>
|
---|
| 289 |
|
---|
[f4f631d] | 290 | <para os="a">Total size of these patches: about <returnvalue/></para>
|
---|
| 291 |
|
---|
| 292 | <para>In addition to the above required patches, there exist a number of
|
---|
[3f8be484] | 293 | optional patches created by the LFS community. These optional patches
|
---|
| 294 | solve minor problems or enable functionality that is not enabled by
|
---|
| 295 | default. Feel free to peruse the patches database located at
|
---|
| 296 | <ulink url="&lfs-root;patches/"/> and acquire any additional
|
---|
| 297 | patches to suit the system needs.</para>
|
---|
| 298 |
|
---|
| 299 | </sect1>
|
---|