aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/findutils.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-08-02 19:04:22 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-08-02 19:04:22 +0000
commitefca30a736007825e0089a0dbfe8db3f1d98dc20 (patch)
tree0fd39c52dc4fb6ef09716083047f87b0a129481f /chapter05/findutils.xml
parent1f5b6137b780db07b43a4a21ccfe6290010a8b85 (diff)
Update to glibc-2.28.
Update to gdbm-1.17. Update to linux-4.17.11. Update to man-db-2.8.4. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11443 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/findutils.xml')
-rw-r--r--chapter05/findutils.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/findutils.xml b/chapter05/findutils.xml
index f7e5e4982..d9d1a7a74 100644
--- a/chapter05/findutils.xml
+++ b/chapter05/findutils.xml
@@ -43,6 +43,12 @@
<sect2 role="installation">
<title>Installation of Findutils</title>
+ <para>First, make some fixes required by glibc-2.28:</para>
+
+<screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c
+sed -i '/unistd/a #include &lt;sys/sysmacros.h&gt;' gl/lib/mountlist.c
+echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h</userinput></screen>
+
<para>Prepare Findutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>