3.4. 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 a CLFS system:

Bash 3.2 Fixes - 12 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/bash-3.2-fixes-3.patch

MD5 sum: 93999e9f286c2d34a5d51e8b730a9f53

Binutils Posix Patch - 4.9 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/binutils-2.17-posix-1.patch

MD5 sum: 7e42a8edc0c59246bbc58c428256113c

Bzip2 Documentation Patch - 1.7 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/bzip2-1.0.3-install_docs-1.patch

MD5 sum: 9e5dfbf4814b71ef986b872c9af84488

Bzip2 Bzdiff Remove Tempfile - 1.8 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/bzip2-1.0.3-remove_tempfile-1.patch

MD5 sum: bcadb0ce282c96af15a86a2ccdac0765

Bzip2 Bzgrep Security Fixes Patch - 1.3 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/bzip2-1.0.3-bzgrep_security-1.patch

MD5 sum: 4eae50e4fd690498f23d3057dfad7066

Coreutils Suppress Uptime, Kill, Su Patch - 12 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/coreutils-6.6-suppress_uptime_kill_su-1.patch

MD5 sum: 8bc938ec7210fff3885b37b1339dca45

Coreutils Uname Patch - 8 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/coreutils-6.6-uname-1.patch

MD5 sum: 865d271bec9039f45a3be0ada21edae0

Gawk Segfault Patch - 1.3 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/gawk-3.1.5-segfault_fix-1.patch

MD5 sum: 7679530d88bf3eb56c42eb6aba342ddb

GCC Cross Search Paths Patch - 2 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/gcc-4.1.1-cross_search_paths-1.patch

MD5 sum: 541fe39d228ddaa0d8396a35ec3a0ada

GCC PR20425 Patch - 36 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/gcc-4.1.1-PR20425-1.patch

MD5 sum: 95535bda8e4d37d30251db0b121b5374

GCC Posix Patch - 9 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/gcc-4.1.1-posix-1.patch

MD5 sum: 0d88068740a0e00780891f2cb905b808

Glibc Cross-Compiling Hacks Patch- 20 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/glibc-2.5-cross_hacks-2.patch

MD5 sum: b932942fea39a9beb2ba8a0664344493

Glibc Versioning Update - 4 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/glibc-2.5-MINOR-1.patch

MD5 sum: b782dff6ec9531e062aa019cb4198aed

Glibc Disable linking with libgcc_eh.a - 8 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/glibc-2.5-libgcc_eh-2.patch

MD5 sum: 0b7a671fd5f3cd4ce434cf534866b06a

Glibc Localedef Segfault - 1.9 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/glibc-2.5-localedef_segfault-1.patch

MD5 sum: 42452abc6196789e0a83afa1ca7e6e4e

Inetutils No-Server-Man-Pages Patch - 8 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/inetutils-1.5-no_server_man_pages-2.patch

MD5 sum: b04f46e66c4b438f609565073590ffd5

KBD GCC 4.x Fixes Patch - 1.5 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/kbd-1.12-gcc4_fixes-1.patch

MD5 sum: 615bc1e381ab646f04d8045751ed1f69

Mktemp Tempfile Patch - 3.6 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/mktemp-1.5-add_tempfile-3.patch

MD5 sum: 65d73faabe3f637ad79853b460d30a19

Perl Cross Compile Patch - 76 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/perl-5.8.8-cross_compile-2.patch

MD5 sum: bd9f94c8629e674f4472604b77cea42d

Shadow Sysroot Hacks Patch - 16 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/shadow-4.0.18.1-sysroot_hacks-1.patch

MD5 sum: 0d3f26660202e435e95c71dcea6e9613

Shadow Useradd Fix Patch - 4 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/shadow-4.0.18.1-useradd_fix-1.patch

MD5 sum: 272eb8ef4b9b7ad859292150526ea5fa

Sysklogd Fixes Patch - 28 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/sysklogd-1.4.1-fixes-1.patch

MD5 sum: 508104f058d1aef26b3bc8059821935f

Texinfo Tempfile Fix Patch - 2.2 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/texinfo-4.8a-tempfile_fix-1.patch

MD5 sum: 559bda136a2ac7777ecb67511227af85

Util-linux Cramfs Patch - 2.8 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/util-linux-2.12r-cramfs-1.patch

MD5 sum: 1c3f40b30e12738eb7b66a35b7374572

Util-linux Syscalls Patch - 4 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/util-linux-2.12r-syscall_fixes-1.patch

MD5 sum: e1c86c9859c242b300599cef277f03e1

Util-linux lseek Patch - 12 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/util-linux-2.12r-missing_lseek-1.patch

MD5 sum: 5d6c86321c1ea74d7ed7cf57861da423

Util-linux Missing Header Patch - 1 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/util-linux-2.12r-missing_header-1.patch

MD5 sum: 33ccc15d2e92caa6189b044f573fdcda

Vim Cross-Compile Patch - 28 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/vim-7.0-cross_compile-1.patch

MD5 sum: 05da89742f75fc39292fbf7c5ccc17ff

Vim Fixes Patch - 316 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/vim-7.0-fixes-20.patch

MD5 sum: fecf85b0e4c1913afeb1e9269ff08f2a

Zlib fPIC Patch - 3.2 KB:

Download: http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/zlib-1.2.3-fPIC-1.patch

MD5 sum: 545d60b20bfde6f53023de44438cef59

Total size of these patches: about 630.2 KB

In addition to the above required patches, there exist a number of optional patches created by the CLFS 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/ and acquire any additional patches to suit the system needs.