diff options
Diffstat (limited to 'chapter06/findutils.xml')
-rw-r--r-- | chapter06/findutils.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index 151088d8d..31fc1d2ac 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -50,6 +50,12 @@ <screen><userinput remap="pre">sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in</userinput></screen> + <para>Next, 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 <sys/sysmacros.h>' 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=/usr --localstatedir=/var/lib/locate</userinput></screen> |