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 | |
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
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/bzip2.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3707b51e3..f21af66fd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> 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 |