tags 507201 + pending
thanks

Dear maintainer,

I've prepared an NMU for lsb-appchk3 (versioned as 3.2.2-1.1) and
uploaded it to DELAYED/2, in accordance to devref §5.11.1. The patch is
the one which was posted to the bug log a while ago.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -u lsb-appchk3-3.2.2/debian/changelog lsb-appchk3-3.2.2/debian/changelog
--- lsb-appchk3-3.2.2/debian/changelog
+++ lsb-appchk3-3.2.2/debian/changelog
@@ -1,3 +1,11 @@
+lsb-appchk3 (3.2.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix snprintf usages (missing fmt string), include stdlib.h where NULL
+    is used. Fix FTBFS, Ubuntu patch by James Westby. (Closes: #507201)
+
+ -- Stefano Zacchiroli <[email protected]>  Sun, 01 Nov 2009 15:34:11 +0100
+
 lsb-appchk3 (3.2.2-1) unstable; urgency=low
 
   * New upstream version. 
diff -u lsb-appchk3-3.2.2/tests/misc/appchk/appchk.c lsb-appchk3-3.2.2/tests/misc/appchk/appchk.c
--- lsb-appchk3-3.2.2/tests/misc/appchk/appchk.c
+++ lsb-appchk3-3.2.2/tests/misc/appchk/appchk.c
@@ -329,7 +329,7 @@
             }
             break;
         case 'o':
-            snprintf(output_filename, TMP_STRING_SIZE, optarg);
+            snprintf(output_filename, TMP_STRING_SIZE, "%s", optarg);
             break;
         case 'j':
             do_journal = 1;
@@ -341,7 +341,7 @@
             do_missing_symbol = 1;
             break;
         case 'l':
-            snprintf(list_filename, TMP_STRING_SIZE, optarg);
+            snprintf(list_filename, TMP_STRING_SIZE, "%s", optarg);
             break;
         default:
             usage(argv[0]);
only in patch2:
unchanged:
--- lsb-appchk3-3.2.2.orig/tests/misc/rpmchk/vals.c
+++ lsb-appchk3-3.2.2/tests/misc/rpmchk/vals.c
@@ -5,6 +5,7 @@
  *
  */
 #include "rpmchk.h"
+#include "stdlib.h"
 /*
  * This file contains some values which must match, and some places to
  * stick things which are discovered in one place, but used in another.

Reply via email to