Author: matthew
Date: 2007-05-05 15:58:20 -0600 (Sat, 05 May 2007)
New Revision: 8113
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter01/whatsnew.xml
trunk/BOOK/chapter03/patches.xml
trunk/BOOK/chapter06/ncurses.xml
trunk/BOOK/patches.ent
Log:
Add an upstream patch for Ncurses, which fixes a number of issues uncovered by
the Coverity static code analysis tool. Fixes #1995.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2007-05-05 21:56:38 UTC (rev 8112)
+++ trunk/BOOK/chapter01/changelog.xml 2007-05-05 21:58:20 UTC (rev 8113)
@@ -40,6 +40,11 @@
<para>2007-05-05</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Add a patch from upstream to fix issues in Ncurses
+ found by the Coverity static code analysis tool. Fixes
+ <ulink url="&lfs-ticket-root;1995">#1995</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to Man-pages-2.46. Fixes
<ulink url="&lfs-ticket-root;1994">#1994</ulink>.</para>
</listitem>
Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml 2007-05-05 21:56:38 UTC (rev 8112)
+++ trunk/BOOK/chapter01/whatsnew.xml 2007-05-05 21:58:20 UTC (rev 8113)
@@ -217,6 +217,9 @@
<para>&less-signal_fix-patch;</para>
</listitem>
<listitem>
+ <para>&ncurses-coverity-patch;</para>
+ </listitem>
+ <listitem>
<para>&readline-fixes-patch;</para>
</listitem>
<listitem>
Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml 2007-05-05 21:56:38 UTC (rev 8112)
+++ trunk/BOOK/chapter03/patches.xml 2007-05-05 21:58:20 UTC (rev 8113)
@@ -179,6 +179,14 @@
</varlistentry>
<varlistentry>
+ <term>Ncurses Coverity Patch -
<token>&ncurses-coverity-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink
url="&patches-root;&ncurses-coverity-patch;"/></para>
+ <para>MD5 sum: <literal>&ncurses-coverity-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&perl-libc-patch;"/></para>
Modified: trunk/BOOK/chapter06/ncurses.xml
===================================================================
--- trunk/BOOK/chapter06/ncurses.xml 2007-05-05 21:56:38 UTC (rev 8112)
+++ trunk/BOOK/chapter06/ncurses.xml 2007-05-05 21:58:20 UTC (rev 8113)
@@ -45,6 +45,11 @@
<screen><userinput>bzcat ../&ncurses-rollup-patch; | patch
-Np1</userinput></screen>
-->
+ <para>Apply the following patch to fix a number of issues uncovered by the
+ static code analysis tool, Coverity:</para>
+
+<screen><userinput>patch -Np1 -i
../&ncurses-coverity-patch;</userinput></screen>
+
<para>Prepare Ncurses for compilation:</para>
<screen><userinput>./configure --prefix=/usr --with-shared --without-debug
--enable-widec</userinput></screen>
Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent 2007-05-05 21:56:38 UTC (rev 8112)
+++ trunk/BOOK/patches.ent 2007-05-05 21:58:20 UTC (rev 8113)
@@ -95,6 +95,12 @@
<!ENTITY module-init-modprobe-patch-md5 "f1e452fdf3b8d7ef60148125e390c3e8">
<!ENTITY module-init-modprobe-patch-size "1.2 KB">
+
+<!ENTITY ncurses-coverity-patch
"ncurses-&ncurses-version;-coverity_fixes-1.patch">
+<!ENTITY ncurses-coverity-patch-md5 "aa2fa9d0e89bbfdb4ce7e0e6b4b46670">
+<!ENTITY ncurses-coverity-patch-size "16.8 KB">
+
+
<!ENTITY perl-libc-patch "perl-&perl-version;-libc-2.patch">
<!ENTITY perl-libc-patch-md5 "3bf8aef1fb6eb6110405e699e4141f99">
<!ENTITY perl-libc-patch-size "1.1 KB">
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page