Ticket #1713: updatebzip2.patch

File updatebzip2.patch, 656 bytes (added by Chris Staub, 19 years ago)

Updates bzip2 to remove the "tempfile" reference from bzdiff

  • trunk/BOOK/chapter06/bzip2.xml

     
    5656
    5757<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
    5858
     59    <para>The bzdiff script still uses the deprecated
     60    <command>tempfile</command> program. Update it to use mktemp
     61    instead:</para>
     62
     63<screen><userinput>sed -i 's@tempfile -d /tmp -p bz@mktemp -p /tmp@' bzdiff</userinput></screen>
     64
    5965    <para>Prepare Bzip2 for compilation with:</para>
    6066
    6167<screen><userinput>make -f Makefile-libbz2_so