3.3. Needed Patches

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:

Bash Upstream Fixes Patch - 6.1 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/bash-4.2-fixes-3.patch

MD5 sum: 16ef261d87673ffaa6e838423d1cc4d1

Binutils PT PaX Patch - 12 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/binutils-2.21.1-pt_pax-1.patch

MD5 sum: 1fb3bc9b8e2b2337354c127b1dfdf22b

Bzip2 Documentation Patch - 1.6 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/bzip2-1.0.5-install_docs-1.patch

MD5 sum: 6a5ac7e89b791aae556de0f745916f7f

Bzip2 Version Fixes Patch - 5.3 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/bzip2-1.0.5-version_fixes-1.patch

MD5 sum: 5ef00b9da463b399f3d67ecfa276e7ea

Coreutils Internationalization Fixes Patch - 121 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/coreutils-8.5-i18n-1.patch

MD5 sum: e806ba5734411d1384f1e56169f31b22

Coreutils Uname Patch - 1.6 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/coreutils-8.5-uname-2.patch

MD5 sum: 500481b75892e5c07e19e9953a690e54

Dejagnu Consolidated Patch - 6 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/dejagnu-1.4.4-consolidated-1.patch

MD5 sum: b9949a8abcc210d1dc9cdda06821c199

Expect Tk Configure Patch - 4.4 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/expect-5.44.1.15-no_tk-1.patch

MD5 sum: ba1b2c5841eea6c62b7522dfde412e65

Flex GCC-4.4.x Patch - 1 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/flex-2.5.35-gcc44-1.patch

MD5 sum: ad9109820534278c6dd0898178c0788f

GCC -D_FORTIFY_SOURCE=2 Patch - 4.2 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/gcc-4.5.3-fortify_source-1.patch

MD5 sum: 8331ab81cc53aa3f07672d3436cd412f

GCC -fPIE -pie Patch - 4.7 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/gcc-4.5.3-fpie-1.patch

MD5 sum: fba3e0087f615a557663f199e614a77a

GCC -fstack-protector-all Patch - 3.1 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/gcc-4.5.3-fstack_protector-1.patch

MD5 sum: d8148d2b0d807d24ec485a4603029ab7

GCC Startfiles Fix Patch - 1.5 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/gcc-4.5.3-startfiles_fix-1.patch

MD5 sum: 799ef1971350d2e3c794f2123f247cc6

Glibc GCC Build Fix Patch - 2.5 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/glibc-2.12.2-gcc_fix-1.patch

MD5 sum: d1f28cb98acb9417fe52596908bbb9fd

Glibc Dynamic Loader Execstack Patch - 4 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/glibc-2.12.2-dl_execstack-1.patch

MD5 sum: 2b83e3803f94263132de8759ea1cb69a

Glibc Localdef Trampoline Patch - 4 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/glibc-2.12.2-localedef_trampoline-1.patch

MD5 sum: 9234975544859ee20b54720e4eda5302

Glibc PT PaX Patch - 4 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/glibc-2.12.2-pt_pax-1.patch

MD5 sum: 9234975544859ee20b54720e4eda5302

Glibc strlcpy(3) strlcat(3) Patch - 12 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/glibc-2.12.2-strlcpy_strlcat-1.patch

MD5 sum: a97561ee8e9abd25af48ca9abf0ac289

Grsecurity Kernel Patch - 2.6 MB:

Download: http://grsecurity.net/stable/grsecurity-2.2.2-2.6.32.44-201108091835.patch

MD5 sum: efcba6dc0505179c09fd697c62aa9582

Kbd Backspace/Delete Fix Patch - 12 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/kbd-1.15.2-backspace-1.patch

MD5 sum: f75cca16a38da6caa7d52151f7136895

Man-DB Upstream Fix Assertion Patch - 3.9 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/man-db-2.5.7-fix_man_assertion-1.patch

MD5 sum: a2d7e211160564c13296476cb5f05574

Patch Testsuite Fix Patch - 1 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/patch-2.6.1-test_fix-1.patch

MD5 sum: c51e1a95bfc5310635d05081472c3534

Perl Libc Patch - 1 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/perl-5.12.3-libc-1.patch

MD5 sum: 800dfd3c9618731ee5cf57f77a7942b4

Procps Watch Patch - 3.5 KB:

Download: http://www.linuxfromscratch.org/patches/hlfs/development/procps-3.2.8-watch_unicode-1.patch

MD5 sum: cd1a757e532d93662a7ed71da80e6b58

Total size of these patches: about NaN MB

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 http://www.linuxfromscratch.org/patches/downloads/ and acquire any additional patches to suit your system needs.