r7441 - in trunk/BOOK: chapter01 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sat Mar 18 13:33:59 PST 2006


Author: matthew
Date: 2006-03-18 14:33:58 -0700 (Sat, 18 Mar 2006)
New Revision: 7441

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bzip2.xml
Log:
Make bzdiff use mktemp instead of the deprecated tempfile command

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2006-03-18 10:09:34 UTC (rev 7440)
+++ trunk/BOOK/chapter01/changelog.xml	2006-03-18 21:33:58 UTC (rev 7441)
@@ -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>

Modified: trunk/BOOK/chapter06/bzip2.xml
===================================================================
--- trunk/BOOK/chapter06/bzip2.xml	2006-03-18 10:09:34 UTC (rev 7440)
+++ trunk/BOOK/chapter06/bzip2.xml	2006-03-18 21:33:58 UTC (rev 7441)
@@ -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 at tempfile -d /tmp -p bz at mktemp -p /tmp@' bzdiff</userinput></screen>
+
     <para>Prepare Bzip2 for compilation with:</para>
 
 <screen><userinput>make -f Makefile-libbz2_so




More information about the lfs-book mailing list