Add an upstream patch for Ncurses, which fixes a number of issues uncovered by the Coverity static code analysis tool. Fixes #1995.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2007-05-05 21:58:20 +00:00
parent 22cf3bfc3f
commit 1aba30dba8
5 changed files with 27 additions and 0 deletions

View File

@ -39,6 +39,11 @@
<listitem>
<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>

View File

@ -216,6 +216,9 @@
<listitem>
<para>&less-signal_fix-patch;</para>
</listitem>
<listitem>
<para>&ncurses-coverity-patch;</para>
</listitem>
<listitem>
<para>&readline-fixes-patch;</para>
</listitem>

View File

@ -178,6 +178,14 @@
</listitem>
</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>

View File

@ -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>

View File

@ -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">