aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/man-db.xml7
-rw-r--r--patches.ent7
4 files changed, 21 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 0e24afec6..1113d7c85 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,9 @@
<para>2007-08-20</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Add man-db fixes patch.</para>
+ </listitem>
+ <listitem>
<para>[bryan] - Fix typo in acknowledgements.</para>
</listitem>
</itemizedlist>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 4606f80e6..351354096 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -147,6 +147,14 @@
</varlistentry>
<varlistentry>
+ <term>Man-DB Fix Patch - <token>&man-db-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&man-db-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&man-db-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&mktemp-tempfile-patch;"/></para>
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 88ecef994..fb508777b 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -35,7 +35,7 @@
<sect2 role="installation">
<title>Installation of Man-DB</title>
- <para>Three adjustments need to be made to the sources of Man-DB.</para>
+ <para>Four adjustments need to be made to the sources of Man-DB.</para>
<para>The first one changes the location of translated manual pages that come
with Man-DB, in order for them to be accessible in both traditional and
@@ -73,6 +73,11 @@ EOF</userinput></screen>
manual pages. They are not part of LFS or BLFS, but you should be able
to install them yourself after finishing LFS if you wish to do so.</para>
+ <para>Finally, patch the sources to fix output errors if the man page is
+ prematurely aborted by pressing the 'q' key.</para>
+
+<screen><userinput>patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen>
+
<para>Prepare Man-DB for compilation:</para>
<screen><userinput>./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>
diff --git a/patches.ent b/patches.ent
index 75f6e0c82..84422afd8 100644
--- a/patches.ent
+++ b/patches.ent
@@ -48,9 +48,6 @@
<!ENTITY gcc-specs-patch-md5 "a17be8ccfb978e73f382be5093dd8abd">
<!ENTITY gcc-specs-patch-size "14.8 KB">
-
-
-
<!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
<!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
<!ENTITY grep-fixes-patch-size "55 KB">
@@ -79,6 +76,10 @@
<!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB">
+<!ENTITY man-db-fixes-patch "man-db-&man-db-version;-fixes-1.patch">
+<!ENTITY man-db-fixes-patch-md5 "f75b3c44bb801778cf188b87454ff9c1">
+<!ENTITY man-db-fixes-patch-size "2.0 KB">
+
<!ENTITY mktemp-tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">
<!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
<!ENTITY mktemp-tempfile-patch-size "3.5 KB">