فهرست منبع

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
Matthew Burgess 18 سال پیش
والد
کامیت
1aba30dba8
5فایلهای تغییر یافته به همراه27 افزوده شده و 0 حذف شده
  1. 5 0
      chapter01/changelog.xml
  2. 3 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 5 0
      chapter06/ncurses.xml
  5. 6 0
      patches.ent

+ 5 - 0
chapter01/changelog.xml

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

+ 3 - 0
chapter01/whatsnew.xml

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

+ 8 - 0
chapter03/patches.xml

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

+ 5 - 0
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>

+ 6 - 0
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">