aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/findutils.xml
diff options
context:
space:
mode:
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>