aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/tar.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2019-01-27 11:08:32 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2019-01-27 11:08:32 +0000
commitc5f16caee1cbde6b1282e51def7e6ff420b630d9 (patch)
tree5ebc911f04f01002d84cfcbd409ee2a5f48407c6 /chapter06/tar.xml
parentd3c9936abf2ed65588b5411eb6c453ebf428bc74 (diff)
Fix a bug in tar-1.31, preventingat least to extract git man-pages in BLFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11504 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/tar.xml')
-rw-r--r--chapter06/tar.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/chapter06/tar.xml b/chapter06/tar.xml
index 1200a3949..d51bfa8c8 100644
--- a/chapter06/tar.xml
+++ b/chapter06/tar.xml
@@ -39,11 +39,11 @@
<sect2 role="installation">
<title>Installation of Tar</title>
-<!--
- <para>Add a program that generates a man page for tar from the source code:</para>
+
+ <para>Fix a bug introduced in tar-1.31:</para>
- <screen><userinput remap="pre">patch -Np1 -i ../&tar-manpage-patch;</userinput></screen>
--->
+ <screen><userinput remap="pre">sed -i 's/abort.*/FALLTHROUGH;/' src/extract.c</userinput></screen>
+
<para>Prepare Tar for compilation:</para>
<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 \
@@ -72,7 +72,9 @@
<screen><userinput remap="test">make check</userinput></screen>
+<!-- Seems to pass for version 1.31. Keeping as a comment just in case...
<para>One test, link mismatch, is known to fail.</para>
+-->
<para>Install the package:</para>