Author: ken
Date: 2012-08-22 15:34:48 -0600 (Wed, 22 Aug 2012)
New Revision: 10540

Modified:
   trunk/BOOK/general/sysutils/cpio.xml
Log:
Fix cpio for glibc-2.16.0 : thanks to John Burrell for noticing, this smaller 
sed seems adequate.

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml        2012-08-22 20:03:46 UTC (rev 
10539)
+++ trunk/BOOK/general/sysutils/cpio.xml        2012-08-22 21:34:48 UTC (rev 
10540)
@@ -75,7 +75,8 @@
     <para>Install <application>cpio</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr     \
+<screen><userinput>sed -i -e '/gets is a/d' gnu/stdio.in.h &amp;&amp;
+./configure --prefix=/usr     \
             --bindir=/bin     \
             --libexecdir=/tmp \
             --enable-mt       \
@@ -115,6 +116,10 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><parameter>sed -i -e '/gets is a/d' gnu/stdio.in.h 
&amp;&amp;</parameter>:
+    This fixes an incompatability with <application>glibc-2.16.0</application>.
+    </para>
+
     <para><parameter>--bindir=/bin</parameter>: This parameter installs
     <command>cpio</command> to <filename class="directory">/bin</filename>
     instead of <filename class="directory">/usr/bin</filename> as recommended

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to