aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bzip2.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml
index 8aee97703..cc32f163f 100644
--- a/chapter06/bzip2.xml
+++ b/chapter06/bzip2.xml
@@ -56,6 +56,12 @@
<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
+ <para>The bzdiff script still uses the deprecated
+ <command>tempfile</command> program. Update it to use
+ <command>mktemp</command> instead:</para>
+
+<screen><userinput>sed -i 's@tempfile -d /tmp -p bz@mktemp -p /tmp@' bzdiff</userinput></screen>
+
<para>Prepare Bzip2 for compilation with:</para>
<screen><userinput>make -f Makefile-libbz2_so