aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/gzip-exp.xml10
-rw-r--r--chapter05/gzip-inst.xml3
-rw-r--r--chapter05/gzip.xml1
-rw-r--r--index.xml1
4 files changed, 13 insertions, 2 deletions
diff --git a/chapter05/gzip-exp.xml b/chapter05/gzip-exp.xml
new file mode 100644
index 000000000..37a699c75
--- /dev/null
+++ b/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>
+
diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml
index 56802770f..8d19c3cbb 100644
--- a/chapter05/gzip-inst.xml
+++ b/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>
diff --git a/chapter05/gzip.xml b/chapter05/gzip.xml
index 318403a81..21eb8b656 100644
--- a/chapter05/gzip.xml
+++ b/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>
diff --git a/index.xml b/index.xml
index 9f75fa37e..ece9dd3ff 100644
--- a/index.xml
+++ b/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">