r1248 - in trunk/BOOK: . chapter01 chapter04 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Mon Oct 8 09:38:24 PDT 2007


Author: robert
Date: 2007-10-08 10:38:24 -0600 (Mon, 08 Oct 2007)
New Revision: 1248

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter06/m4.xml
   trunk/BOOK/patches.ent
Log:
Added fixes patch for M4

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-10-08 16:09:43 UTC (rev 1247)
+++ trunk/BOOK/chapter01/changelog.xml	2007-10-08 16:38:24 UTC (rev 1248)
@@ -52,6 +52,9 @@
       <para>October 8th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[robert] - Added fixes patch for M4.</para>
+        </listitem>
+        <listitem>
           <para>[robert] - Added Vim hardened_tmp patch.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2007-10-08 16:09:43 UTC (rev 1247)
+++ trunk/BOOK/chapter04/patches.xml	2007-10-08 16:38:24 UTC (rev 1248)
@@ -355,6 +355,14 @@
     </varlistentry>
 
     <varlistentry>
+      <term>M4 Fixes Patch - <token>&m4-fixes-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&m4-fixes-patch;"/></para>
+        <para>MD5 sum: <literal>&m4-fixes-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>Mktemp Tempfile Patch - <token>&mktemp-add_tempfile-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&mktemp-add_tempfile-patch;"/></para>

Modified: trunk/BOOK/chapter06/m4.xml
===================================================================
--- trunk/BOOK/chapter06/m4.xml	2007-10-08 16:09:43 UTC (rev 1247)
+++ trunk/BOOK/chapter06/m4.xml	2007-10-08 16:38:24 UTC (rev 1248)
@@ -24,6 +24,14 @@
   <sect2 role="installation">
     <title>Installation of M4</title>
 
+    <para>This version of M4 has a bug in GnuLib which causes a buffer
+    overflow in the <filename>configure</filename> tests. This patch
+    is from upstream:
+    <ulink url="http://cvs.savannah.gnu.org/viewvc/gnulib/m4/printf.m4?root=gnulib&r1=1.35&r2=1.36"/>.
+    Apply this patch with the following command:</para>
+
+<screen><userinput>patch -Np1 -i ../&m4-fixes-patch;</userinput></screen>
+
     <para>Prepare M4 for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2007-10-08 16:09:43 UTC (rev 1247)
+++ trunk/BOOK/patches.ent	2007-10-08 16:38:24 UTC (rev 1248)
@@ -170,6 +170,10 @@
 <!ENTITY linux24-unistd_x86_PIC-patch-md5 "bed323aa24a25a6f02966b5ac4e64ddf">
 <!ENTITY linux24-unistd_x86_PIC-patch-size "8 KB">
 
+<!ENTITY m4-fixes-patch "m4-&m4-version;-fixes-1.patch">
+<!ENTITY m4-fixes-patch-md5 "c89ccda02aba3a6c22f8d29790f5f226">
+<!ENTITY m4-fixes-patch-size "4 KB">
+
 <!ENTITY mktemp-add_tempfile-patch "mktemp-&mktemp-version;-add_tempfile-3.patch">
 <!ENTITY mktemp-add_tempfile-patch-md5 "65d73faabe3f637ad79853b460d30a19">
 <!ENTITY mktemp-add_tempfile-patch-size "3.5 KB">




More information about the hlfs-book mailing list