Bringing order to the presentation of patches.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2938 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Alex Gronenwoud 2003-10-07 22:22:46 +00:00
parent 617bacdc91
commit 7acb4c36e5
57 changed files with 169 additions and 166 deletions

View File

@ -4,7 +4,7 @@
<para><literallayout>Bash (&bash-version;):
<ulink url="ftp://ftp.gnu.org/gnu/bash/"/>
Bash Patch (&bash-version;):
<ulink url="&patches-root;"/></literallayout></para>
Bash Patch:
<ulink url="&patches-root;&bash-patch;"/></literallayout></para>
</sect2>

View File

@ -4,7 +4,7 @@
<para><literallayout>Bison (&bison-version;):
<ulink url="ftp://ftp.gnu.org/gnu/bison/"/>
Bison Attribute Patch (&bison-version;):
<ulink url="&patches-root;"/></literallayout></para>
Bison Attribute Patch:
<ulink url="&patches-root;&bison-patch;"/></literallayout></para>
</sect2>

View File

@ -4,9 +4,9 @@
<para><literallayout>Coreutils (&coreutils-version;):
<ulink url="ftp://ftp.gnu.org/gnu/coreutils/"/>
Coreutils Hostname Patch (&coreutils-version;):
<ulink url="&patches-root;"/>
Coreutils Hostname Patch:
<ulink url="&patches-root;&coreutils-hostname-patch;"/>
Coreutils Uname Patch (&coreutils-version;):
<ulink url="&patches-root;"/></literallayout></para>
Coreutils Uname Patch:
<ulink url="&patches-root;&coreutils-uname-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Ed (&ed-version;):
<ulink url="ftp://ftp.gnu.org/gnu/ed/"/>
Ed Patch (&ed-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Ed Patch:
<ulink url="&patches-root;&ed-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Expect (&expect-version;):
<ulink url="http://expect.nist.gov/src/"/>
Expect Patch (&expect-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Expect Patch:
<ulink url="&patches-root;&expect-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Gawk (&gawk-version;):
<ulink url="ftp://ftp.gnu.org/pub/gnu/gawk/"/>
Gawk Patch (&gawk-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Gawk Patch:
<ulink url="&patches-root;&gawk-patch;"/></literallayout></para>
</sect2>

View File

@ -4,21 +4,24 @@
<para><literallayout>GCC (&gcc-version;):
<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/>
GCC No Fixincludes Patch (&gcc-nofixincludes-patch-version;):
<ulink url="&patches-root;"/>
GCC No-Fixincludes Patch:
<ulink url="&patches-root;&gcc-nofixincludes-patch;"/>
GCC Specs Patch (&gcc-specs-patch-version;):
<ulink url="&patches-root;"/>
GCC Specs Patch:
<ulink url="&patches-root;&gcc-specs-patch;"/>
GCC Suppress Libiberty Patch (&gcc-suppress-libiberty-patch-version;):
<ulink url="&patches-root;"/>
GCC Suppress-Libiberty Patch:
<ulink url="&patches-root;&gcc-suppress-libiberty-patch;"/>
GCC-2 Patch (&gcc-2953-patch-version;):
<ulink url="&patches-root;"/>
GCC-2 (&gcc-2953-version;):
<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/>
GCC-2 No Fixincludes Patch (&gcc-2953-no-fixinc-patch-version;):
<ulink url="&patches-root;"/>
GCC-2 Patch:
<ulink url="&patches-root;&gcc-2953-patch;"/>
GCC-2 Return Type Patch (&gcc-2953-returntype-fix-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
GCC-2 No-Fixincludes Patch:
<ulink url="&patches-root;&gcc-2953-no-fixinc-patch;"/>
GCC-2 Return-Type Patch:
<ulink url="&patches-root;&gcc-2953-returntype-fix-patch;"/></literallayout></para>
</sect2>

View File

@ -7,6 +7,6 @@
Glibc-linuxthreads (&glibc-version;):
<ulink url="ftp://ftp.gnu.org/gnu/glibc/"/>
Glibc Sscanf Patch (&glibc-sscanf-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Glibc Sscanf Patch:
<ulink url="&patches-root;&glibc-sscanf-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Grub (&grub-version;):
<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/>
Grub Gcc33 Patch (&grub-version;):
<ulink url="&patches-root;"/></literallayout></para>
Grub Gcc33 Patch:
<ulink url="&patches-root;&grub-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Kbd (&kbd-version;):
<ulink url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/"/>
Kbd Patch (&kbd-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Kbd Patch:
<ulink url="&patches-root;&kbd-patch;"/></literallayout></para>
</sect2>

View File

@ -4,12 +4,12 @@
<para><literallayout>Man (&man-version;):
<ulink url="ftp://ftp.win.tue.nl/pub/linux-local/utils/man/"/>
Man 80Cols Patch (&man-80cols-patch-version;):
<ulink url="&patches-root;"/>
Man 80-Columns Patch:
<ulink url="&patches-root;&man-80cols-patch;"/>
Man Manpath Patch (&man-manpath-patch-version;):
<ulink url="&patches-root;"/>
Man Manpath Patch:
<ulink url="&patches-root;&man-manpath-patch;"/>
Man Pager Patch (&man-pager-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Man Pager Patch:
<ulink url="&patches-root;&man-pager-patch;"/></literallayout></para>
</sect2>

View File

@ -4,9 +4,9 @@
<para><literallayout>Ncurses (&ncurses-version;):
<ulink url="ftp://ftp.gnu.org/gnu/ncurses/"/>
Ncurses Etip Patch (&ncurses-version;):
<ulink url="&patches-root;"/>
Ncurses Etip Patch:
<ulink url="&patches-root;&ncurses-etip-patch;"/>
Ncurses Vsscanf Patch (&ncurses-version;):
<ulink url="&patches-root;"/></literallayout></para>
Ncurses Vsscanf Patch:
<ulink url="&patches-root;&ncurses-vsscanf-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Net-tools (&net-tools-version;):
<ulink url="http://www.tazenda.demon.co.uk/phil/net-tools/"/>
Net-tools Mii-Tool Patch (&net-tools-version;):
<ulink url="&patches-root;"/></literallayout></para>
Net-tools Mii-Tool-Gcc33 Patch:
<ulink url="&patches-root;&net-tools-mii-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Perl (&perl-version;):
<ulink url="http://www.perl.com/"/>
Perl Libc Patch (&perl-version;):
<ulink url="&patches-root;"/></literallayout></para>
Perl Libc Patch:
<ulink url="&patches-root;&perl-libc-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Procps (&procps-version;):
<ulink url="http://procps.sourceforge.net/"/>
Procps Patch (&procps-patch-version;):
<ulink url="&patches-root;"/></literallayout></para>
Procps Patch:
<ulink url="&patches-root;&procps-patch;"/></literallayout></para>
</sect2>

View File

@ -4,6 +4,6 @@
<para><literallayout>Shadow (&shadow-version;):
<ulink url="ftp://ftp.pld.org.pl/software/shadow/"/>
Shadow Newgrp Patch (&shadow-version;):
<ulink url="&patches-root;"/></literallayout></para>
Shadow Newgrp Patch:
<ulink url="&patches-root;&shadow-patch;"/></literallayout></para>
</sect2>

View File

@ -6,6 +6,6 @@
<para><literallayout>Zlib (&zlib-version;):
<ulink url="http://www.gzip.org/zlib/"/>
Zlib Patch (&zlib-version;):
<ulink url="&patches-root;"/></literallayout></para>
Zlib Patch:
<ulink url="&patches-root;&zlib-patch;"/></literallayout></para>
</sect2>

View File

@ -248,91 +248,91 @@ or just make some small modifications to bend things our way. You'll need the
following:</para>
<literallayout>
Bash Patch (&bash-patch-version;) - &bash-patch-size;:
<ulink url="&patches-root;bash-&bash-patch-version;.patch"/>
Bash Patch - &bash-patch-size;:
<ulink url="&patches-root;&bash-patch;"/>
Bison Attribute Patch (&bison-patch-version;) - &bison-patch-size;:
<ulink url="&patches-root;bison-&bison-patch-version;.patch"/>
Bison Attribute Patch - &bison-patch-size;:
<ulink url="&patches-root;&bison-patch;"/>
Coreutils Hostname Patch (&coreutils-hostname-patch-version;) - &coreutils-hostname-patch-size;:
<ulink url="&patches-root;coreutils-&coreutils-hostname-patch-version;.patch"/>
Coreutils Hostname Patch - &coreutils-hostname-patch-size;:
<ulink url="&patches-root;&coreutils-hostname-patch;"/>
Coreutils Uname Patch (&coreutils-uname-patch-version;) - &coreutils-uname-patch-size;:
<ulink url="&patches-root;coreutils-&coreutils-uname-patch-version;.patch"/>
Coreutils Uname Patch - &coreutils-uname-patch-size;:
<ulink url="&patches-root;&coreutils-uname-patch;"/>
Ed Patch (&ed-patch-version;) - &ed-patch-size;:
<ulink url="&patches-root;ed-&ed-patch-version;.patch"/>
Ed Patch - &ed-patch-size;:
<ulink url="&patches-root;&ed-patch;"/>
Expect Patch (&expect-patch-version;) - &expect-patch-size;:
<ulink url="&patches-root;expect-&expect-patch-version;.patch"/>
Expect Patch - &expect-patch-size;:
<ulink url="&patches-root;&expect-patch;"/>
Gawk Patch (&gawk-patch-version;) - &gawk-patch-size;:
<ulink url="&patches-root;gawk-&gawk-patch-version;.patch"/>
Gawk Patch - &gawk-patch-size;:
<ulink url="&patches-root;&gawk-patch;"/>
GCC No Fixincludes Patch: (&gcc-nofixincludes-patch-version;) - &gcc-nofixincludes-patch-size;:
<ulink url="&patches-root;gcc-&gcc-nofixincludes-patch-version;.patch"/>
GCC No-Fixincludes Patch - &gcc-nofixincludes-patch-size;:
<ulink url="&patches-root;&gcc-nofixincludes-patch;"/>
GCC Specs Patch: (&gcc-specs-patch-version;) - &gcc-specs-patch-size;:
<ulink url="&patches-root;gcc-&gcc-specs-patch-version;.patch"/>
GCC Specs Patch - &gcc-specs-patch-size;:
<ulink url="&patches-root;&gcc-specs-patch;"/>
GCC Suppress Libiberty Patch: (&gcc-suppress-libiberty-patch-version;) - &gcc-suppress-libiberty-patch-size;:
<ulink url="&patches-root;gcc-&gcc-suppress-libiberty-patch-version;.patch"/>
GCC Suppress-Libiberty Patch - &gcc-suppress-libiberty-patch-size;:
<ulink url="&patches-root;&gcc-suppress-libiberty-patch;"/>
GCC-2 Patch (&gcc-2953-patch-version;) - &gcc-2953-patch-size;:
<ulink url="&patches-root;gcc-&gcc-2953-patch-version;.patch"/>
GCC-2 Patch - &gcc-2953-patch-size;:
<ulink url="&patches-root;&gcc-2953-patch;"/>
GCC-2 No Fixincludes Patch (&gcc-2953-no-fixinc-patch-version;) - &gcc-2953-no-fixinc-patch-size;:
<ulink url="&patches-root;gcc-&gcc-2953-no-fixinc-patch-version;.patch"/>
GCC-2 No-Fixincludes Patch - &gcc-2953-no-fixinc-patch-size;:
<ulink url="&patches-root;&gcc-2953-no-fixinc-patch;"/>
GCC-2 Return Type Patch (&gcc-2953-returntype-fix-patch-version;) - &gcc-2953-returntype-fix-patch-size;:
<ulink url="&patches-root;gcc-&gcc-2953-returntype-fix-patch-version;.patch"/>
GCC-2 Return-Type Patch - &gcc-2953-returntype-fix-patch-size;:
<ulink url="&patches-root;&gcc-2953-returntype-fix-patch;"/>
Glibc Sscanf Patch: (&glibc-sscanf-patch-version;) - &glibc-sscanf-patch-size;:
<ulink url="&patches-root;glibc-&glibc-sscanf-patch-version;.patch"/>
Glibc Sscanf Patch - &glibc-sscanf-patch-size;:
<ulink url="&patches-root;&glibc-sscanf-patch;"/>
Grub Gcc33 Patch (&grub-patch-version;) - &grub-patch-size;:
<ulink url="&patches-root;grub-&grub-patch-version;.patch"/>
Grub Gcc33 Patch - &grub-patch-size;:
<ulink url="&patches-root;&grub-patch;"/>
Kbd Patch (&kbd-patch-version;) - &kbd-patch-size;:
<ulink url="&patches-root;kbd-&kbd-patch-version;.patch"/>
Kbd Patch - &kbd-patch-size;:
<ulink url="&patches-root;&kbd-patch;"/>
Man 80Cols Patch (&man-80cols-patch-version;) - &man-80cols-patch-size;:
<ulink url="&patches-root;man-&man-80cols-patch-version;.patch"/>
Man 80-Columns Patch - &man-80cols-patch-size;:
<ulink url="&patches-root;&man-80cols-patch;"/>
Man Manpath Patch (&man-manpath-patch-version;) - &man-manpath-patch-size;:
<ulink url="&patches-root;man-&man-manpath-patch-version;.patch"/>
Man Manpath Patch - &man-manpath-patch-size;:
<ulink url="&patches-root;&man-manpath-patch;"/>
Man Pager Patch (&man-pager-patch-version;) - &man-pager-patch-size;:
<ulink url="&patches-root;man-&man-pager-patch-version;.patch"/>
Man Pager Patch - &man-pager-patch-size;:
<ulink url="&patches-root;&man-pager-patch;"/>
Ncurses Etip Patch (&ncurses-etip-patch-version;) - &ncurses-etip-patch-size;:
<ulink url="&patches-root;ncurses-&ncurses-etip-patch-version;.patch"/>
Ncurses Etip Patch - &ncurses-etip-patch-size;:
<ulink url="&patches-root;&ncurses-etip-patch;"/>
Ncurses Vsscanf Patch (&ncurses-vsscanf-patch-version;) - &ncurses-vsscanf-patch-size;:
<ulink url="&patches-root;ncurses-&ncurses-vsscanf-patch-version;.patch"/>
Ncurses Vsscanf Patch - &ncurses-vsscanf-patch-size;:
<ulink url="&patches-root;&ncurses-vsscanf-patch;"/>
Net-tools Mii-Tool Gcc33 Patch (&net-tools-mii-patch-version;) - &net-tools-mii-patch-size;:
<ulink url="&patches-root;net-tools-&net-tools-mii-patch-version;.patch"/>
Net-tools Mii-Tool-Gcc33 Patch - &net-tools-mii-patch-size;:
<ulink url="&patches-root;&net-tools-mii-patch;"/>
Perl Libc Patch (&perl-libc-patch-version;) - &perl-libc-patch-size;:
<ulink url="&patches-root;perl-&perl-libc-patch-version;.patch"/>
Perl Libc Patch - &perl-libc-patch-size;:
<ulink url="&patches-root;&perl-libc-patch;"/>
Procps Patch (&procps-patch-version;) - &procps-patch-size;:
<ulink url="&patches-root;procps-&procps-patch-version;.patch"/>
Procps Patch - &procps-patch-size;:
<ulink url="&patches-root;&procps-patch;"/>
Shadow Newgrp Patch (&shadow-patch-version;) - &shadow-patch-size;:
<ulink url="&patches-root;shadow-&shadow-patch-version;.patch"/>
Shadow Newgrp Patch - &shadow-patch-size;:
<ulink url="&patches-root;&shadow-patch;"/>
Zlib Vsnprintf Patch (&zlib-patch-version;) - &zlib-patch-size;:
<ulink url="&patches-root;zlib-&zlib-patch-version;.patch"/>
Zlib Vsnprintf Patch - &zlib-patch-size;:
<ulink url="&patches-root;&zlib-patch;"/>
</literallayout>
<para>In addition, there are a number of optional patches that have been
created by the LFS community. Most of these solve slight problems, or enable
some functionality that's not enabled by default. Please feel free to examine
the patches database, located at
<ulink url="http://www.linuxfromscratch.org/patches/"/>, and choose any
additional patches you might wish to use.</para>
<para>In addition to the above required patches, there exist a number of
optional ones created by the LFS community. Most of these solve slight
problems, or enable some functionality that's not enabled by default. Feel
free to examine the patches database, located at
<ulink url="http://www.linuxfromscratch.org/patches/"/>, and pick any
additional patches you wish to use.</para>
</sect1>

View File

@ -6,7 +6,7 @@
<para>Bash contains several known bugs. Fix these with the following
patch:</para>
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen></para>
<para>Now prepare Bash for compilation:</para>

View File

@ -5,7 +5,7 @@
<para>First apply a patch:</para>
<para><screen><userinput>patch -Np1 -i ../expect-&expect-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&expect-patch;</userinput></screen></para>
<para>This fixes a bug in Expect that can result in bogus failures during the
GCC test suite run.</para>

View File

@ -33,8 +33,8 @@ same working directory. They will all unfold into a single
<para>First correct one problem and make an essential adjustment:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-nofixincludes-patch-version;.patch
patch -Np1 -i ../gcc-&gcc-specs-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&gcc-nofixincludes-patch;
patch -Np1 -i ../&gcc-specs-patch;</userinput></screen></para>
<para>The first patch disables the GCC "fixincludes" script. We mentioned this
briefly earlier, but a slightly more in-depth explanation of the fixincludes

View File

@ -31,7 +31,7 @@ touch /tools/etc/ld.so.conf</userinput></screen></para>
<para>Also, Glibc has a subtle problem when compiled with GCC 3.3.1.
Apply the following patch to fix this:</para>
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-sscanf-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen></para>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>

View File

@ -5,8 +5,8 @@
<para>Fix two minor things:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&ncurses-etip-patch;
patch -Np1 -i ../&ncurses-vsscanf-patch;</userinput></screen></para>
<para>The first patch corrects the <filename>etip.h</filename> header file, and
the second patch prevents some compiler warnings being issued on the use of

View File

@ -4,7 +4,7 @@
<para>First adapt some hard-wired paths to the C library:</para>
<para><screen><userinput>patch -Np1 -i ../perl-&perl-libc-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen></para>
<para>And make sure some static extensions get built:</para>

View File

@ -7,7 +7,7 @@
way it is expected at times. Fix this behaviour with the following
patch:</para>
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen></para>
<para>Prepare Bash for compilation:</para>

View File

@ -7,13 +7,13 @@
broken, in that the <userinput>-p</userinput> switch always returns "unknown".
The following patch fixes this behaviour for Intel architectures:</para>
<para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen></para>
<para>We do not want Coreutils to install its version of the
<userinput>hostname</userinput> program, because it is inferior to the version
provided by Net-tools. Prevent its installation by applying a patch:</para>
<para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-hostname-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&coreutils-hostname-patch;</userinput></screen></para>
<para>Now prepare Coreutils for compilation:</para>

View File

@ -17,7 +17,7 @@ create temporary files.</para>
<para>Apply the patch:</para>
<para><screen><userinput>patch -Np1 -i ../ed-&ed-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&ed-patch;</userinput></screen></para>
<para>Now prepare Ed for compilation:</para>

View File

@ -31,7 +31,7 @@ class="directory">$prefix/share/gawk-3.1.3</filename>) is removed along
with its contents on a make uninstall.</para></listitem>
</itemizedlist>
<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&gawk-patch;</userinput></screen></para>
<para>Now prepare Gawk for compilation:</para>

View File

@ -27,9 +27,9 @@ the system GCC already installed in <filename class="directory">/usr</filename>
<para>Apply the patches and make a small adjustment:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-2953-patch-version;.patch
patch -Np1 -i ../gcc-&gcc-2953-no-fixinc-patch-version;.patch
patch -Np1 -i ../gcc-&gcc-2953-returntype-fix-patch-version;.patch
<para><screen><userinput>patch -Np1 -i ../&gcc-2953-patch;.patch
patch -Np1 -i ../&gcc-2953-no-fixinc-patch;.patch
patch -Np1 -i ../&gcc-2953-returntype-fix-patch;.patch
echo timestamp > gcc/cstamp-h.in</userinput></screen></para>
<para>The GCC documentation recommends building GCC outside of the source

View File

@ -20,8 +20,8 @@ GCC-testsuite package. The full GCC package contains even more
compilers. Instructions for building these can be found at
<ulink url="&blfs-root;view/stable/general/gcc.html"/>.</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-nofixincludes-patch-version;.patch
patch -Np1 -i ../gcc-&gcc-suppress-libiberty-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&gcc-nofixincludes-patch;
patch -Np1 -i ../&gcc-suppress-libiberty-patch;</userinput></screen></para>
<para>The second patch here suppresses the installation of libiberty from GCC,
as we will use the one provided by binutils instead. Be careful

View File

@ -20,7 +20,7 @@ flags.</para>
<para>Then apply the same patch we used previously:</para>
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-sscanf-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen></para>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>

View File

@ -11,7 +11,7 @@ Grub.</para>
<para>Grub needs a patch to fix a compilation problem with GCC-3.3.1</para>
<para><screen><userinput>patch -Np1 -i ../grub-&grub-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&grub-patch;</userinput></screen></para>
<para>Prepare Grub for compilation:</para>

View File

@ -7,7 +7,7 @@
<userinput>setvesablank</userinput> and <userinput>getunimap</userinput>) are
not installed . The patch enables the compilation of these utilities:</para>
<para><screen><userinput>patch -Np1 -i ../kbd-&kbd-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&kbd-patch;</userinput></screen></para>
<para>Now prepare Kbd for compilation:</para>

View File

@ -9,19 +9,19 @@
<filename>man.conf</filename> file to prevent redundant results when using
programs such as <userinput>whatis</userinput>:</para>
<para><screen><userinput>patch -Np1 -i ../man-&man-manpath-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&man-manpath-patch;</userinput></screen></para>
<para>The second patch adds the <emphasis>-R</emphasis> option to the
<emphasis>PAGER</emphasis> variable so that escape sequences are
handled properly:</para>
<para><screen><userinput>patch -Np1 -i ../man-&man-pager-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&man-pager-patch;</userinput></screen></para>
<para>The third and last patch prevents a problem when man pages not formatted
with more than 80 columns are used in conjunction with recent releases of
<userinput>groff</userinput>:</para>
<para><screen><userinput>patch -Np1 -i ../man-&man-80cols-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&man-80cols-patch;</userinput></screen></para>
<para>Now prepare Man for compilation:</para>

View File

@ -5,8 +5,8 @@
<para>First fix two tiny bugs:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch
patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&ncurses-etip-patch;
patch -Np1 -i ../&ncurses-vsscanf-patch;</userinput></screen></para>
<para>The first patch corrects the <filename>etip.h</filename> header file, and
the second patch prevents some compiler warnings on the use of deprecated

View File

@ -6,7 +6,7 @@
<para>First fix a locale problem that can crash <userinput>w</userinput> under
certain locale settings:</para>
<para><screen><userinput>patch -Np1 -i ../procps-&procps-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&procps-patch;</userinput></screen></para>
<para>Now compile Procps:</para>

View File

@ -39,7 +39,7 @@ the package incorrectly assumes it is going to be located at
it to fail. The following patch (also appearing in Shadow's CVS code) fixes
this problem.</para>
<para><screen><userinput>patch -Np1 -i ../shadow-&shadow-patch-version;.patch
<para><screen><userinput>patch -Np1 -i ../&shadow-patch;.patch
</userinput></screen></para>
<para>Now prepare Shadow for compilation:</para>

View File

@ -7,7 +7,7 @@
<emphasis>gzprintf()</emphasis> function, that, though difficult to take
advantage of, should be taken care of by applying this patch:</para>
<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;.patch</userinput></screen></para>
<para><screen><userinput>patch -Np1 -i ../&zlib-patch;</userinput></screen></para>
<para>Now prepare Zlib for compilation:</para>

View File

@ -20,7 +20,7 @@
<!ENTITY bash-package "bash-&bash-version;.tar.bz2">
<!ENTITY bash-size "1,910 KB">
<!ENTITY bash-patch-version "2.05b-2">
<!ENTITY bash-patch "bash-&bash-version;-2.patch">
<!ENTITY bash-patch-size "7 KB">
<!ENTITY bash-compsize-static "24 MB">

View File

@ -16,7 +16,7 @@
<!ENTITY bison-package "bison-&bison-version;.tar.bz2">
<!ENTITY bison-size "796 KB">
<!ENTITY bison-patch-version "1.875-attribute">
<!ENTITY bison-patch "bison-&bison-version;-attribute.patch">
<!ENTITY bison-patch-size "2 KB">
<!ENTITY bison-compsize "6 MB">

View File

@ -20,10 +20,10 @@
<!ENTITY coreutils-package "coreutils-&coreutils-version;.tar.bz2">
<!ENTITY coreutils-size "3,860 KB">
<!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname.patch">
<!ENTITY coreutils-uname-patch-size "1 KB">
<!ENTITY coreutils-uname-patch-version "5.0-uname">
<!ENTITY coreutils-hostname-patch "coreutils-&coreutils-version;-hostname-2.patch">
<!ENTITY coreutils-hostname-patch-size "1 KB">
<!ENTITY coreutils-hostname-patch-version "5.0-hostname-2">
<!ENTITY coreutils-compsize-static "17 MB">
<!ENTITY coreutils-time-static "0.8 SBU">

View File

@ -17,8 +17,8 @@
<!ENTITY ed-package "ed-&ed-version;.tar.bz2">
<!ENTITY ed-size "182 KB">
<!ENTITY ed-patch "ed-&ed-version;.patch">
<!ENTITY ed-patch-size "1 KB">
<!ENTITY ed-patch-version "0.2">
<!ENTITY ed-compsize "3 MB">
<!ENTITY ed-time "0.1 SBU">

View File

@ -17,7 +17,7 @@
<!ENTITY expect-package "expect-&expect-version;.tar.bz2">
<!ENTITY expect-size "508 KB">
<!ENTITY expect-patch-version "5.39.0">
<!ENTITY expect-patch "expect-&expect-version;.patch">
<!ENTITY expect-patch-size "6 KB">
<!ENTITY expect-compsize-static "24 MB">

View File

@ -20,8 +20,8 @@
<!ENTITY gawk-package "gawk-&gawk-version;.tar.bz2">
<!ENTITY gawk-size "1,596 KB">
<!ENTITY gawk-patch "gawk-&gawk-version;.patch">
<!ENTITY gawk-patch-size "1 KB">
<!ENTITY gawk-patch-version "3.1.3">
<!ENTITY gawk-compsize-static "17 MB">
<!ENTITY gawk-time-static "0.2 SBU">

View File

@ -17,11 +17,11 @@
<!ENTITY gcc-2953-package "gcc-&gcc-2953-version;.tar.bz2">
<!ENTITY gcc-2953-size "9,618 KB">
<!ENTITY gcc-2953-patch-version "2.95.3-2">
<!ENTITY gcc-2953-patch "gcc-&gcc-2953-version;-2.patch">
<!ENTITY gcc-2953-patch-size "16 KB">
<!ENTITY gcc-2953-no-fixinc-patch-version "2.95.3-no-fixinc">
<!ENTITY gcc-2953-no-fixinc-patch "gcc-&gcc-2953-version;-no-fixinc.patch">
<!ENTITY gcc-2953-no-fixinc-patch-size "1 KB">
<!ENTITY gcc-2953-returntype-fix-patch-version "2.95.3-returntype-fix">
<!ENTITY gcc-2953-returntype-fix-patch "gcc-&gcc-2953-version;-returntype-fix.patch">
<!ENTITY gcc-2953-returntype-fix-patch-size "1 KB">

View File

@ -27,11 +27,11 @@
<!ENTITY gcc-gpp-size "2,017 KB">
<!ENTITY gcc-testsuite-size "1,033 KB">
<!ENTITY gcc-nofixincludes-patch-version "3.3.1-no_fixincludes-2">
<!ENTITY gcc-nofixincludes-patch "gcc-&gcc-version;-no_fixincludes-2.patch">
<!ENTITY gcc-nofixincludes-patch-size "1 KB">
<!ENTITY gcc-specs-patch-version "3.3.1-specs-2">
<!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-2.patch">
<!ENTITY gcc-specs-patch-size "10 KB">
<!ENTITY gcc-suppress-libiberty-patch-version "3.3.1-suppress-libiberty">
<!ENTITY gcc-suppress-libiberty-patch "gcc-&gcc-version;-suppress-libiberty.patch">
<!ENTITY gcc-suppress-libiberty-patch-size "1 KB">
<!ENTITY gcc-compsize-pass1-stage1 "326 MB">

View File

@ -25,7 +25,7 @@
<!ENTITY glibc-size "13,064 KB">
<!ENTITY glibc-threads-size "211 KB">
<!ENTITY glibc-sscanf-patch-version "2.3.2-sscanf-1">
<!ENTITY glibc-sscanf-patch "glibc-&glibc-version;-sscanf-1.patch">
<!ENTITY glibc-sscanf-patch-size "2 KB">
<!ENTITY glibc-compsize "369 MB">

View File

@ -18,7 +18,7 @@
<!ENTITY grub-package "grub-&grub-version;.tar.bz2">
<!ENTITY grub-size "870 KB">
<!ENTITY grub-patch-version "0.93-gcc33-1">
<!ENTITY grub-patch "grub-&grub-version;-gcc33-1.patch">
<!ENTITY grub-patch-size "1 KB">
<!ENTITY grub-compsize "9 MB">

View File

@ -17,7 +17,7 @@
<!ENTITY kbd-package "kbd-&kbd-version;.tar.bz2">
<!ENTITY kbd-size "801 KB">
<!ENTITY kbd-patch-version "1.08">
<!ENTITY kbd-patch "kbd-&kbd-version;.patch">
<!ENTITY kbd-patch-size "1 KB">
<!ENTITY kbd-compsize "8 MB">

View File

@ -16,8 +16,8 @@
<!ENTITY libtool-package "libtool-&libtool-version;.tar.bz2">
<!ENTITY libtool-size "2,751 KB">
<!ENTITY libtool-patch "libtool-&libtool-version;.patch">
<!ENTITY libtool-patch-size "11 KB">
<!ENTITY libtool-patch-version "1.4.2">
<!ENTITY libtool-compsize "7 MB">
<!ENTITY libtool-time "1.1 SBU">

View File

@ -17,11 +17,11 @@
<!ENTITY man-package "man-&man-version;.tar.bz2">
<!ENTITY man-size "196 KB">
<!ENTITY man-80cols-patch-version "1.5m2-80cols">
<!ENTITY man-80cols-patch "man-&man-version;-80cols.patch">
<!ENTITY man-80cols-patch-size "1 KB">
<!ENTITY man-manpath-patch-version "1.5m2-manpath">
<!ENTITY man-manpath-patch "man-&man-version;-manpath.patch">
<!ENTITY man-manpath-patch-size "1 KB">
<!ENTITY man-pager-patch-version "1.5m2-pager">
<!ENTITY man-pager-patch "man-&man-version;-pager.patch">
<!ENTITY man-pager-patch-size "1 KB">

View File

@ -20,9 +20,9 @@
<!ENTITY ncurses-package "ncurses-&ncurses-version;.tar.bz2">
<!ENTITY ncurses-size "2,019 KB">
<!ENTITY ncurses-etip-patch-version "5.3-etip-2">
<!ENTITY ncurses-etip-patch "ncurses-&ncurses-version;-etip-2.patch">
<!ENTITY ncurses-etip-patch-size "1 KB">
<!ENTITY ncurses-vsscanf-patch-version "5.3-vsscanf">
<!ENTITY ncurses-vsscanf-patch "ncurses-&ncurses-version;-vsscanf.patch">
<!ENTITY ncurses-vsscanf-patch-size "1 KB">
<!ENTITY ncurses-compsize "22 MB">

View File

@ -16,7 +16,7 @@
<!ENTITY net-tools-package "net-tools-&net-tools-version;.tar.bz2">
<!ENTITY net-tools-size "194 KB">
<!ENTITY net-tools-mii-patch-version "1.60-miitool-gcc33-1">
<!ENTITY net-tools-mii-patch "net-tools-&net-tools-version;-miitool-gcc33-1.patch">
<!ENTITY net-tools-mii-patch-size "2 KB">
<!ENTITY net-tools-compsize "5 MB">

View File

@ -20,7 +20,7 @@
<!ENTITY perl-package "perl-&perl-version;.tar.bz2">
<!ENTITY perl-size "10,765 KB">
<!ENTITY perl-libc-patch-version "5.8.0-libc-3">
<!ENTITY perl-libc-patch "perl-&perl-version;-libc-3.patch">
<!ENTITY perl-libc-patch-size "1 KB">
<!ENTITY perl-compsize-static "52 MB">

View File

@ -17,7 +17,7 @@
<!ENTITY procps-package "procps-&procps-version;.tar.bz2">
<!ENTITY procps-size "242 KB">
<!ENTITY procps-patch-version "3.1.11">
<!ENTITY procps-patch "procps-&procps-version;.patch">
<!ENTITY procps-patch-size "1 KB">
<!ENTITY procps-compsize "2 MB">

View File

@ -17,7 +17,7 @@
<!ENTITY shadow-package "shadow-&shadow-version;.tar.bz2">
<!ENTITY shadow-size "760 KB">
<!ENTITY shadow-patch-version "4.0.3-newgrp-fix">
<!ENTITY shadow-patch "shadow-&shadow-version;-newgrp-fix.patch">
<!ENTITY shadow-patch-size "1 KB">
<!ENTITY shadow-compsize "7 MB">

View File

@ -17,7 +17,7 @@
<!ENTITY zlib-package "zlib-&zlib-version;.tar.bz2">
<!ENTITY zlib-size "144 KB">
<!ENTITY zlib-patch-version "1.1.4-vsnprintf">
<!ENTITY zlib-patch "zlib-&zlib-version;-vsnprintf.patch">
<!ENTITY zlib-patch-size "10 KB">
<!ENTITY zlib-compsize "1 MB">