diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/bash-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/expect-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/gcc-pass2-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/glibc-inst.xml | 2 | ||||
-rw-r--r-- | chapter05/ncurses-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/perl-inst.xml | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index 89950f847..03fe846ae 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -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> diff --git a/chapter05/expect-inst.xml b/chapter05/expect-inst.xml index e54a5b484..84e186da9 100644 --- a/chapter05/expect-inst.xml +++ b/chapter05/expect-inst.xml @@ -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> diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml index 5ed463704..e2e58ab19 100644 --- a/chapter05/gcc-pass2-inst.xml +++ b/chapter05/gcc-pass2-inst.xml @@ -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 diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index a6f9340fd..7385f9809 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -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> diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml index 938be653f..7c187a2b5 100644 --- a/chapter05/ncurses-inst.xml +++ b/chapter05/ncurses-inst.xml @@ -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 diff --git a/chapter05/perl-inst.xml b/chapter05/perl-inst.xml index 498ad5f69..297fe7aef 100644 --- a/chapter05/perl-inst.xml +++ b/chapter05/perl-inst.xml @@ -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> |