From ee75f416f1bf2a1134723157c324a5845285499f Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 18 Mar 2006 21:33:58 +0000 Subject: 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 --- chapter01/changelog.xml | 5 +++++ chapter06/bzip2.xml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3707b51e3..f21af66fd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ March 18, 2006 + + [matthew] - Make bzdiff use mktemp instead of the deprecated + tempfile command. Thanks to Chris Staub for the patch. Fixes ticket + #1713. + [matthew] - Upgrade to flex-2.5.33. 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 @@ patch -Np1 -i ../&bzip2-bzgrep-patch; + The bzdiff script still uses the deprecated + tempfile program. Update it to use + mktemp instead: + +sed -i 's@tempfile -d /tmp -p bz@mktemp -p /tmp@' bzdiff + Prepare Bzip2 for compilation with: make -f Makefile-libbz2_so -- cgit v1.2.3-54-g00ecf