aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bison-inst.xml2
-rw-r--r--chapter06/gcc-2953-inst.xml6
-rw-r--r--chapter06/nettools-inst.xml2
3 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml
index 3fd999772..39a8f98fc 100644
--- a/chapter06/bison-inst.xml
+++ b/chapter06/bison-inst.xml
@@ -6,7 +6,7 @@
<para>First we use a patch to bison, backported from CVS, which fixes a minor
compilation problem with some packages:</para>
-<para><screen><userinput>patch -Np1 -i ../bison-1.875-attribute.patch</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen></para>
<para>Prepare Bison for compilation:</para>
diff --git a/chapter06/gcc-2953-inst.xml b/chapter06/gcc-2953-inst.xml
index 3af7c987e..2204eb21a 100644
--- a/chapter06/gcc-2953-inst.xml
+++ b/chapter06/gcc-2953-inst.xml
@@ -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-2953-patch;.patch
-patch -Np1 -i ../&gcc-2953-no-fixinc-patch;.patch
-patch -Np1 -i ../&gcc-2953-returntype-fix-patch;.patch
+<para><screen><userinput>patch -Np1 -i ../&gcc-2953-patch;
+patch -Np1 -i ../&gcc-2953-no-fixinc-patch;
+patch -Np1 -i ../&gcc-2953-returntype-fix-patch;
echo timestamp > gcc/cstamp-h.in</userinput></screen></para>
<para>The GCC documentation recommends building GCC outside of the source
diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml
index c6783234b..d298c320b 100644
--- a/chapter06/nettools-inst.xml
+++ b/chapter06/nettools-inst.xml
@@ -16,7 +16,7 @@ but it's up to the kernel to make the protocols available.</para>
<para>The following patch will fix a small syntax problem with the source
for the mii-tool binary:</para>
-<para><screen><userinput>patch -Np1 -i ../net-tools-1.60-miitool-gcc33-1.patch</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../&net-tools-mii-patch;</userinput></screen></para>
<para>Prepare Net-tools for compilation with:</para>