From 1aba30dba86ec224e9a86930ade59ce46429e441 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 5 May 2007 21:58:20 +0000 Subject: 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 --- chapter01/changelog.xml | 5 +++++ chapter01/whatsnew.xml | 3 +++ chapter03/patches.xml | 8 ++++++++ chapter06/ncurses.xml | 5 +++++ patches.ent | 6 ++++++ 5 files changed, 27 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b7619a344..69532bfda 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2007-05-05 + + [matthew] - Add a patch from upstream to fix issues in Ncurses + found by the Coverity static code analysis tool. Fixes + #1995. + [matthew] - Upgrade to Man-pages-2.46. Fixes #1994. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 2362a6a92..174b2d038 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -216,6 +216,9 @@ &less-signal_fix-patch; + + &ncurses-coverity-patch; + &readline-fixes-patch; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 9ed5d1816..29c6a0303 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -178,6 +178,14 @@ + + Ncurses Coverity Patch - &ncurses-coverity-patch-size;: + + Download: + MD5 sum: &ncurses-coverity-patch-md5; + + + Perl Libc Patch - &perl-libc-patch-size;: 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 @@ bzcat ../&ncurses-rollup-patch; | patch -Np1 --> + Apply the following patch to fix a number of issues uncovered by the + static code analysis tool, Coverity: + +patch -Np1 -i ../&ncurses-coverity-patch; + Prepare Ncurses for compilation: ./configure --prefix=/usr --with-shared --without-debug --enable-widec diff --git a/patches.ent b/patches.ent index 229268c8e..2992a7544 100644 --- a/patches.ent +++ b/patches.ent @@ -95,6 +95,12 @@ + + + + + + -- cgit v1.2.3-54-g00ecf