Make bzdiff use mktemp instead of the deprecated tempfile command

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7441 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2006-03-18 21:33:58 +00:00
parent 93ca991c1f
commit ee75f416f1
2 changed files with 11 additions and 0 deletions

View File

@ -39,6 +39,11 @@
<listitem>
<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>

View File

@ -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