Explorar el Código

Fix a bug in tar-1.31, at least to extract git man-pages in BLFS

was r11504.
Pierre Labastie hace 6 años
padre
commit
f72e3219ca
Se han modificado 3 ficheros con 21 adiciones y 8 borrados
  1. 11 0
      chapter01/changelog.xml
  2. 7 5
      chapter06/tar.xml
  3. 3 3
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -42,6 +42,17 @@
     appropriate for the entry or if needed the entire day's listitem.
 -->
 
+    <listitem>
+      <para>2019-01-27</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix a bug introduced in tar-1.31, by adding
+          a sed to the build instructions. Also remove an obsolete comment
+          about a failing test.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem revision="systemd">
       <para>2019-01-20</para>
       <itemizedlist>

+ 7 - 5
chapter06/tar.xml

@@ -39,12 +39,12 @@
 
   <sect2 role="installation">
     <title>安装 Tar</title>
-<!--
-    <para>Add a program that generates a man page for tar from the source code:</para>
+
+    <para>准备编译 Tar:</para>
+
+    <para>修复 tar-1.31 引入的一个 bug:</para>
  
- <screen><userinput remap="pre">patch -Np1 -i ../&tar-manpage-patch;</userinput></screen>
--->
-    <para>准备安装 Tar:</para>
+ <screen><userinput remap="pre">sed -i 's/abort.*/FALLTHROUGH;/' src/extract.c</userinput></screen>
 
 <screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1  \
 ./configure --prefix=/usr \
@@ -73,7 +73,9 @@
 
 <screen><userinput remap="test">make check</userinput></screen>
 
+<!-- Seems to pass for version 1.31. Keeping as a comment just in case...
     <para>已知一项名为 link mismatch 的测试可能失败。</para>
+-->
 
     <para>安装该软件包:</para>
 

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20190120">
+<!ENTITY version         "SVN-20190127">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20190120-systemd">
+<!ENTITY versiond        "20190127-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "2019 年 1 月 20 日">
+<!ENTITY releasedate     "2019 年 1 月 27 日">
 
 <!ENTITY copyrightdate   "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.4">