aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/bash.xml2
-rw-r--r--chapter05/binutils-pass1.xml3
-rw-r--r--chapter05/expect.xml2
-rw-r--r--chapter05/flex.xml2
-rw-r--r--chapter05/gcc-pass2.xml4
-rw-r--r--chapter05/glibc.xml2
-rw-r--r--chapter05/perl.xml2
7 files changed, 8 insertions, 9 deletions
diff --git a/chapter05/bash.xml b/chapter05/bash.xml
index 0e56bb09b..52df13885 100644
--- a/chapter05/bash.xml
+++ b/chapter05/bash.xml
@@ -31,7 +31,7 @@
<para>Bash has a problem when compiled against newer versions of Glibc, causing
it to hang inappropriately. This patch fixes the problem:</para>
-<screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
<para>Prepare Bash for compilation:</para>
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index c33a87153..9154b597e 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -43,8 +43,7 @@ unset them when building Binutils.</para>
to patch the first build of this version of Binutils so that it can be
compiled by the host system.</para>
-<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-gcc4-1.patch
-</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&binutils-gcc4-patch;</userinput></screen>
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
diff --git a/chapter05/expect.xml b/chapter05/expect.xml
index da345c11e..c0652fa22 100644
--- a/chapter05/expect.xml
+++ b/chapter05/expect.xml
@@ -32,7 +32,7 @@ GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem>
<para>First, fix a bug that can result in false failures during the GCC test
suite run:</para>
-<screen><userinput>patch -Np1 -i ../expect-&expect-version;-spawn-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
<para>Now prepare Expect for compilation:</para>
diff --git a/chapter05/flex.xml b/chapter05/flex.xml
index 878e05263..d5813dfa2 100644
--- a/chapter05/flex.xml
+++ b/chapter05/flex.xml
@@ -30,7 +30,7 @@
<para>Flex contains several known bugs. These can be fixed with the
following patch:</para>
-<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-3.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
<para>The GNU autotools will detect that the Flex source code has been
modified by the previous patch and tries to update the man page
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 5ddac0851..d4ccbf256 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -58,8 +58,8 @@ working.</para>
<para>First correct a known problem and make an essential adjustment:</para>
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch
-patch -Np1 -i ../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;
+patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
<para>The first patch disables the GCC <command>fixincludes</command>
script. This was briefly mentioned earlier, but a more in-depth
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 5740a676f..29fdb2adc 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -42,7 +42,7 @@ risk.</para>
problem has been determined to be with the tests themselves, not with the libc
nor the kernel. If you plan to run the testsuite apply this patch:</para>
-<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-fix_test-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 309ec6307..c1279832d 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -30,7 +30,7 @@
<para>First adapt some hard-wired paths to the C library by applying
the following patch:</para>
-<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
<para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
part of the command correct&mdash;they are all letters):</para>