Browse Source

fixed gcc nofixincludes patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2156 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 years ago
parent
commit
62909d965a
4 changed files with 6 additions and 9 deletions
  1. 3 4
      chapter01/changelog.xml
  2. 1 1
      chapter05/gcc-exp.xml
  3. 1 3
      chapter05/gcc-inst.xml
  4. 1 1
      index.xml

+ 3 - 4
chapter01/changelog.xml

@@ -6,15 +6,14 @@
 
 
 <itemizedlist>
 <itemizedlist>
 
 
+<listitem><para>September 29th, 2002 [gerard]: Chapter 05 - GCC: Fixed the
+old nofixincludes patch and reinstated it.</para></listitem>
+
 <listitem><para>September 29th, 2002 [markh]: Chapter 05 - Bash: Correct
 <listitem><para>September 29th, 2002 [markh]: Chapter 05 - Bash: Correct
 reference to Debian to refer to the old stable release (potato) as it
 reference to Debian to refer to the old stable release (potato) as it
 doesn't apply to the current one (woody).  Reported by h2k1 on
 doesn't apply to the current one (woody).  Reported by h2k1 on
 #lfs.</para></listitem>
 #lfs.</para></listitem>
 
 
-<listitem><para>September 29th, 2002 [timothy]: Chapter 05 - GCC: Replaced
-the nofixincludes patch (because it doesn't apply cleanly) with a sed
-command.</para></listitem>
-
 </itemizedlist>
 </itemizedlist>
 
 
 <para>4.0-RC1 - September 28th, 2002</para>
 <para>4.0-RC1 - September 28th, 2002</para>

+ 1 - 1
chapter05/gcc-exp.xml

@@ -6,7 +6,7 @@ This patch fixes a few bugs. In particular it contains the "copy fix" and
 "var fix" documented at 
 "var fix" documented at 
 <ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
 <ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
 
 
-<para><userinput>sed '/$(SHELL) .\/fixinc.sh/d':</userinput>
+<para><userinput>patch -Np1 -i ../gcc-3.2-nofixincludes-2.patch:</userinput>
 This prevents the fixincludes script from running.</para>
 This prevents the fixincludes script from running.</para>
 
 
 <para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard
 <para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard

+ 1 - 3
chapter05/gcc-inst.xml

@@ -15,9 +15,7 @@ been warned.</para>
 <para>Install GCC by running the following commands:</para>
 <para>Install GCC by running the following commands:</para>
 
 
 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
-cp gcc/Makefile.in{,.backup} &amp;&amp;
-sed '/$(SHELL) .\/fixinc.sh/d' \
-&nbsp;&nbsp;&nbsp; gcc/Makefile.in.backup > gcc/Makefile.in &amp;&amp;
+patch -Np1 -i ../gcc-3.2-nofixincludes-2.patch &amp;&amp;
 mkdir ../gcc-build &amp;&amp;
 mkdir ../gcc-build &amp;&amp;
 cd ../gcc-build &amp;&amp;
 cd ../gcc-build &amp;&amp;
 ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
 ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \

+ 1 - 1
index.xml

@@ -15,7 +15,7 @@
 <!ENTITY hints-index "http://hints.linuxfromscratch.org/hints.shtml">
 <!ENTITY hints-index "http://hints.linuxfromscratch.org/hints.shtml">
 <!ENTITY blfs-root "http://beyond.linuxfromscratch.org/">
 <!ENTITY blfs-root "http://beyond.linuxfromscratch.org/">
 
 
-<!ENTITY all-version "cvs-20020929-1306">
+<!ENTITY all-version "cvs-20020929-1556">
 <!ENTITY all-size-kb "105,560 KB">
 <!ENTITY all-size-kb "105,560 KB">
 <!ENTITY all-size-mb "103.88 MB">
 <!ENTITY all-size-mb "103.88 MB">