aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gzip.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gzip.xml')
-rw-r--r--chapter06/gzip.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 09eebbdf7..e8fb796fd 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of Gzip</title>
+ <para>First, make some fixes required by glibc-2.28:</para>
+
+<screen><userinput remap="pre">sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
+echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen>
+
<para>Prepare Gzip for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>