Bläddra i källkod

Added sscanf patch to Glibc instructions and download page.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 22 år sedan
förälder
incheckning
79b94bd125
4 ändrade filer med 17 tillägg och 0 borttagningar
  1. 3 0
      chapter01/changelog.xml
  2. 3 0
      chapter04/chapter04.xml
  3. 6 0
      chapter05/glibc-inst.xml
  4. 5 0
      chapter06/glibc-inst.xml

+ 3 - 0
chapter01/changelog.xml

@@ -6,6 +6,9 @@
 
 <itemizedlist>
 
+<listitem><para>August 29, 2003 [jeremy] - Glibc - updated
+instructions with the sscanf patch from patches.</para></listitem>
+
 <listitem><para>August 29, 2003 [jeremy] - Updated GCC
 to version 3.3.1, including fixes based on Zack's mini-hint
 for GCC 3.3, and patches from his docs.</para></listitem>

+ 3 - 0
chapter04/chapter04.xml

@@ -249,6 +249,9 @@ GCC Specs Patch:
 GCC No Fixincludes Patch:
 <ulink url="&http;/gcc-3.3.1-no_fixincludes.patch"/>
 
+Glibc Sscanf Patch:
+<ulink url="&http;/glibc-2.3.2-sscanf-1.patch"/>
+
 Kbd Patch (&kbd-patch-version;) - &kbd-patch-size;:
 <ulink url="&http;/kbd-&kbd-patch-version;.patch"/>
 

+ 6 - 0
chapter05/glibc-inst.xml

@@ -24,6 +24,12 @@ Fix this annoying little error with:</para>
 <para><screen><userinput>mkdir /stage1/etc
 touch /stage1/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>The documentation that comes with Glibc recommends to build the package
 not in the source directory but in a separate, dedicated directory:</para>
 

+ 5 - 0
chapter06/glibc-inst.xml

@@ -15,6 +15,11 @@ not in the source directory but in a separate, dedicated directory:</para>
 <para><screen><userinput>mkdir ../glibc-build
 cd ../glibc-build</userinput></screen></para>
 
+<para>Also apply the same patch as we used previously:</para>
+
+<para><screen><userinput>patch -Np1 -i ../glibc-2.3.2-sscanf-1.patch
+</userinput></screen></para>
+
 <para>Now prepare Glibc for compilation:</para>
 
 <para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \