aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-pass2-inst.xml4
-rw-r--r--chapter05/glibc-inst.xml3
2 files changed, 3 insertions, 4 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml
index e4f4febfb..71eadbaa0 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-version;-no_fixincludes-2.patch
-patch -Np1 -i ../gcc-&gcc-specs-version;.patch</userinput></screen></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>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 9ffcea2f8..83b64eb69 100644
--- a/chapter05/glibc-inst.xml
+++ b/chapter05/glibc-inst.xml
@@ -31,8 +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-2.3.2-sscanf-1.patch
-</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-sscanf-patch-version;.patch</userinput></screen></para>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>