diff options
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/bzip2.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3707b51e3..f21af66fd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,11 @@ <para>March 18, 2006</para> <itemizedlist> <listitem> + <para>[matthew] - Make bzdiff use mktemp instead of the deprecated + tempfile command. Thanks to Chris Staub for the patch. Fixes ticket + #1713.</para> + </listitem> + <listitem> <para>[matthew] - Upgrade to flex-2.5.33.</para> </listitem> <listitem> 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 |