diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2006-03-18 21:33:58 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2006-03-18 21:33:58 +0000 |
commit | ee75f416f1bf2a1134723157c324a5845285499f (patch) | |
tree | 71d63a2f01c5ec6796cfec620ffe4f7a49c429ee /chapter06 | |
parent | 93ca991c1f52b32e9aa507f1a7790c492cd6b76e (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bzip2.xml | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ <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 |