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 --- chapter06/bzip2.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chapter06') 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