diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-05-05 21:58:20 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-05-05 21:58:20 +0000 |
commit | 1aba30dba86ec224e9a86930ade59ce46429e441 (patch) | |
tree | f387d4df7aaa0009f71e784ae4bbd1e6a23aa09f | |
parent | 22cf3bfc3f131eeb5411e34c37d2363c3ac2661c (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 3 | ||||
-rw-r--r-- | chapter03/patches.xml | 8 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 5 | ||||
-rw-r--r-- | patches.ent | 6 |
5 files changed, 27 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b7619a344..69532bfda 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 2362a6a92..174b2d038 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -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> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 9ed5d1816..29c6a0303 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -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> diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 61688c09e..00d5de42c 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -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> diff --git a/patches.ent b/patches.ent index 229268c8e..2992a7544 100644 --- a/patches.ent +++ b/patches.ent @@ -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"> |