aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/m4.xml
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 /chapter06/m4.xml
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 'chapter06/m4.xml')
-rw-r--r--chapter06/m4.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index c22282c1d..cf7934ee5 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -40,6 +40,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=/usr</userinput></screen>