Changeset e9f3e85 for chapter06


Ignore:
Timestamp:
10/15/2005 12:01:06 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.1.1
Children:
1ec69ac5
Parents:
8f192d8
Message:

Finished the addition of patches.ent

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7018 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r8f192d8 re9f3e85  
    3333will sometimes only show 33 characters on a line, then wrap to the next:</para>
    3434
    35 <screen><userinput>patch -Np1 -i ../bash-&bash-version;-fixes-3.patch</userinput></screen>
     35<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
    3636
    3737<para>Bash also has issues when compiled against newer versions of Glibc.  The
    3838following patch resolves this problem:</para>
    3939
    40 <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
     40<screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
    4141
    4242<para>Prepare Bash for compilation:</para>
  • chapter06/bzip2.xml

    r8f192d8 re9f3e85  
    3333<para>Apply a patch to install the documentation for this package:</para>
    3434
    35 <screen><userinput>patch -Np1 -i ../bzip2-&bzip2-version;-install_docs-1.patch</userinput></screen>
     35<screen><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
    3636
    3737<para>The <command>bzgrep</command> command does not escape '|' and '&amp;' in
     
    4040address this:</para>
    4141
    42 <screen><userinput>patch -Np1 -i ../bzip2-&bzip2-version;-bzgrep_security-1.patch</userinput></screen>
     42<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
    4343
    4444<para>Prepare Bzip2 for compilation with:</para>
  • chapter06/coreutils.xml

    r8f192d8 re9f3e85  
    3535fixes this behavior for Intel architectures:</para>
    3636
    37 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-uname-2.patch</userinput></screen>
     37<screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
    3838
    3939<para>Prevent Coreutils from installing binaries that will be installed by
    4040other packages later:</para>
    4141
    42 <screen><userinput>patch -Np1 -i \
    43     ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
     42<screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
    4443
    4544<para>Now prepare Coreutils for compilation:</para>
  • chapter06/flex.xml

    r8f192d8 re9f3e85  
    3232<para>Flex contains several known bugs. Fix these with the following patch:</para>
    3333
    34 <screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-3.patch</userinput></screen>
     34<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
    3535
    3636<para>The GNU autotools detects that the Flex source code has been
  • chapter06/gcc.xml

    r8f192d8 re9f3e85  
    4040used in the previous chapter:</para>
    4141
    42 <screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>
     42<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen>
    4343
    4444<para>GCC fails to compile some packages outside of a base Linux From Scratch
     
    4646versions of Binutils.  Apply the following patch to fix this issue:</para>
    4747
    48 <screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch</userinput></screen>
     48<screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen>
    4949
    5050<para>Apply a <command>sed</command> substitution that will suppress the
  • chapter06/glibc.xml

    r8f192d8 re9f3e85  
    5050within the Glibc source directory:</para>
    5151
    52 <screen><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
     52<screen><userinput>tar -xjvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
    5353
    5454<para>In certain rare circumstances, Glibc can segfault when no standard search
    5555directories exist.  The following patch prevents this:</para>
    5656
    57 <screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-rtld_search_dirs-1.patch</userinput></screen>
     57<screen><userinput>patch -Np1 -i ../&glibc-rtld-patch;</userinput></screen>
    5858
    5959<para>Glibc has two tests which fail when the running kernel is 2.6.11.x The
     
    6161nor the kernel. This patch fixes the problem:</para>
    6262
    63 <screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-fix_test-1.patch</userinput></screen>
     63<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
    6464
    6565<para>The Glibc documentation recommends building Glibc outside of the source
  • chapter06/gzip.xml

    r8f192d8 re9f3e85  
    3333addresses both of them:</para>
    3434
    35 <screen><userinput>patch -Np1 -i ../gzip-&gzip-version;-security_fixes-1.patch</userinput></screen>
     35<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
    3636
    3737<para>Prepare Gzip for compilation:</para>
  • chapter06/inetutils.xml

    r8f192d8 re9f3e85  
    3232issues by applying the following patch:</para>
    3333
    34 <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>
     34<screen><userinput>patch -Np1 -i ../&inetutils-kernel_headers-patch;</userinput></screen>
    3535
    3636<para>All programs that come with Inetutils will not be installed.
     
    3939situation:</para>
    4040
    41 <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
     41<screen><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
    4242
    4343<para>Prepare Inetutils for compilation:</para>
  • chapter06/iproute2.xml

    r8f192d8 re9f3e85  
    4141    </para>
    4242
    43     <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
     43    <screen><userinput>patch -Np1 -i ../&iproute2-remove_db-patch;</userinput></screen>
    4444
    4545    <para>Prepare IPRoute2 for compilation:</para>
  • chapter06/mktemp.xml

    r8f192d8 re9f3e85  
    3434<command>tempfile</command> wrapper:</para>
    3535
    36 <screen><userinput>patch -Np1 -i ../mktemp-&mktemp-version;-add_tempfile-2.patch</userinput></screen>
     36<screen><userinput>patch -Np1 -i ../&mktemp-tempfile-patch;</userinput></screen>
    3737
    3838<para>Prepare Mktemp for compilation:</para>
  • chapter06/readline.xml

    r8f192d8 re9f3e85  
    3434includes other fixes recommended by the Readline author.</para>
    3535
    36 <screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
     36<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
    3737
    3838<para>Prepare Readline for compilation:</para>
  • chapter06/sysklogd.xml

    r8f192d8 re9f3e85  
    3232Sysklogd with Linux 2.6 series kernels</para>
    3333
    34 <screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-fixes-1.patch</userinput></screen>
     34<screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
    3535
    3636<para>Compile the package:</para>
  • chapter06/tar.xml

    r8f192d8 re9f3e85  
    3232with files larger than 4 GB. The following patch properly fixes this issue:</para>
    3333
    34 <screen><userinput>patch -Np1 -i ../tar-&tar-version;-sparse_fix-1.patch</userinput></screen>
     34<screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
    3535
    3636<para>Prepare Tar for compilation:</para>
  • chapter06/texinfo.xml

    r8f192d8 re9f3e85  
    3333on temporary files. Apply the following patch to fix this:</para>
    3434
    35 <screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-tempfile_fix-1.patch</userinput></screen>
     35<screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
    3636
    3737<para>Prepare Texinfo for compilation:</para>
  • chapter06/util-linux.xml

    r8f192d8 re9f3e85  
    5050The following patch properly fixes this issue:</para>
    5151
    52 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-cramfs-1.patch</userinput></screen>
     52<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
    5353
    5454<para>Util-linux has a security vulnerability that could allow a user to remount
    5555a volume without the nosuid option. The following patch fixes this issue:</para>
    5656
    57 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-umount_fix-1.patch</userinput></screen>
     57<screen><userinput>patch -Np1 -i ../&util-linux-umount-patch;</userinput></screen>
    5858
    5959<para>Prepare Util-linux for compilation:</para>
  • chapter06/vim.xml

    r8f192d8 re9f3e85  
    5050following patch fixes the problem:</para>
    5151
    52 <screen><userinput>patch -Np1 -i ../vim-&vim-version;-security_fix-2.patch</userinput></screen>
     52<screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen>
    5353
    5454<para>Now prepare Vim for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.