Browse Source

Add man-db patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.3/BOOK@8328 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 18 years ago
parent
commit
2ef5d97c23
4 changed files with 21 additions and 4 deletions
  1. 3 0
      chapter01/changelog.xml
  2. 8 0
      chapter03/patches.xml
  3. 6 1
      chapter06/man-db.xml
  4. 4 3
      patches.ent

+ 3 - 0
chapter01/changelog.xml

@@ -39,6 +39,9 @@
     <listitem>
     <listitem>
       <para>2007-08-20</para>
       <para>2007-08-20</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add man-db fixes patch.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[bryan] - Fix typo in acknowledgements.</para>
           <para>[bryan] - Fix typo in acknowledgements.</para>
         </listitem>
         </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -146,6 +146,14 @@
       </listitem>
       </listitem>
     </varlistentry>
     </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>
     <varlistentry>
       <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term>
       <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term>
       <listitem>
       <listitem>

+ 6 - 1
chapter06/man-db.xml

@@ -35,7 +35,7 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Man-DB</title>
     <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
     <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
     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
     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>
     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>
     <para>Prepare Man-DB for compilation:</para>
 
 
 <screen><userinput>./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>
 <screen><userinput>./configure --prefix=/usr --enable-mb-groff --disable-setuid</userinput></screen>

+ 4 - 3
patches.ent

@@ -48,9 +48,6 @@
 <!ENTITY gcc-specs-patch-md5 "a17be8ccfb978e73f382be5093dd8abd">
 <!ENTITY gcc-specs-patch-md5 "a17be8ccfb978e73f382be5093dd8abd">
 <!ENTITY gcc-specs-patch-size "14.8 KB">
 <!ENTITY gcc-specs-patch-size "14.8 KB">
 
 
-
-
-
 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
 <!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
 <!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6">
 <!ENTITY grep-fixes-patch-size "55 KB">
 <!ENTITY grep-fixes-patch-size "55 KB">
@@ -79,6 +76,10 @@
 <!ENTITY kbd-gcc4_fixes-patch-size "1.4 KB">
 <!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 "mktemp-&mktemp-version;-add_tempfile-3.patch">
 <!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
 <!ENTITY mktemp-tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
 <!ENTITY mktemp-tempfile-patch-size "3.5 KB">
 <!ENTITY mktemp-tempfile-patch-size "3.5 KB">