aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-08-08 08:45:08 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-08-08 08:45:08 +0000
commit8320e26f720f50ea2198663726fdff9de9584b51 (patch)
treeb00f300436c6b9767320a34b0b6942db3837b5c3 /chapter05
parent3ca97f5d0db7e2191fdad2281b0e8419b7367e93 (diff)
Upgrade to Glibc-2.12.1. Fixes #2730.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/m4.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/m4.xml b/chapter05/m4.xml
index 4be3a0f36..0aa067d5c 100644
--- a/chapter05/m4.xml
+++ b/chapter05/m4.xml
@@ -43,6 +43,12 @@
<sect2 role="installation">
<title>Installation of M4</title>
+ <para>Add a missing include directive that prevents M4 successfully building
+ against Glibc-&glibc-version;:</para>
+
+<screen><userinput remap="pre">sed -i -e '/"m4.h"/a\
+#include &lt;sys/stat.h&gt;' src/path.c</userinput></screen>
+
<para>Prepare M4 for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>