瀏覽代碼

gzip patch explanation made clearer

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@938 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 年之前
父節點
當前提交
43b794ea97
共有 4 個文件被更改,包括 13 次插入2 次删除
  1. 10 0
      chapter05/gzip-exp.xml
  2. 1 2
      chapter05/gzip-inst.xml
  3. 1 0
      chapter05/gzip.xml
  4. 1 0
      index.xml

+ 10 - 0
chapter05/gzip-exp.xml

@@ -0,0 +1,10 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>patch -Np1 -i ../gzip-&gzip-version;.patch </userinput> This 
+patch file is necessary to avoid a
+conflict of variable names with glibc when compiling and linking
+statically.</para>
+
+</sect2>
+

+ 1 - 2
chapter05/gzip-inst.xml

@@ -2,8 +2,7 @@
 <title>Installation of Gzip</title>
 
 <para>Before Gzip is installed, the gzip patch file needs to be
-unpacked.  This patch file is necessary to avoid a conflict of variable
-names with glibc when compiling and linking statically.</para>
+unpacked.</para>
 
 <para><screen><userinput>patch -Np1 -i ../gzip-&gzip-version;.patch &amp;&amp;</userinput>
 <userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>

+ 1 - 0
chapter05/gzip.xml

@@ -5,6 +5,7 @@
 Estimated disk space required:  &gzip-compsize-static;</screen>
 
 &c5-gzip-inst;
+&c5-gzip-exp;
 &aa-gzip-desc;
 
 </sect1>

+ 1 - 0
index.xml

@@ -158,6 +158,7 @@
 <!ENTITY c5-grep SYSTEM "chapter5/grep.xml">
 <!ENTITY c5-grep-inst SYSTEM "chapter5/grep-inst.xml">
 <!ENTITY c5-gzip SYSTEM "chapter5/gzip.xml">
+<!ENTITY c5-gzip-exp SYSTEM "chapter5/gzip-exp.xml">
 <!ENTITY c5-gzip-inst SYSTEM "chapter5/gzip-inst.xml">
 <!ENTITY c5-kernel SYSTEM "chapter5/kernel.xml">
 <!ENTITY c5-kernel-inst SYSTEM "chapter5/kernel-inst.xml">