tags 507204 + pending
thanks

Dear maintainer,

I've prepared an NMU for lsb-pkgchk3 (versioned as 3.2.1-1.1) and
uploaded it to DELAYED/2, according to devref §5.11.1. The patch is the
one which was posted to the buglog 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-pkgchk3-3.2.1/debian/changelog lsb-pkgchk3-3.2.1/debian/changelog
--- lsb-pkgchk3-3.2.1/debian/changelog
+++ lsb-pkgchk3-3.2.1/debian/changelog
@@ -1,3 +1,11 @@
+lsb-pkgchk3 (3.2.1-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: #507204)
+
+ -- Stefano Zacchiroli <z...@debian.org>  Sun, 01 Nov 2009 15:50:07 +0100
+
 lsb-pkgchk3 (3.2.1-1) unstable; urgency=low
 
   * New upstream. 
diff -u lsb-pkgchk3-3.2.1/tests/misc/appchk/appchk.c lsb-pkgchk3-3.2.1/tests/misc/appchk/appchk.c
--- lsb-pkgchk3-3.2.1/tests/misc/appchk/appchk.c
+++ lsb-pkgchk3-3.2.1/tests/misc/appchk/appchk.c
@@ -306,7 +306,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;
@@ -318,7 +318,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]);
diff -u lsb-pkgchk3-3.2.1/tests/misc/pkgchk/pkgchk.c lsb-pkgchk3-3.2.1/tests/misc/pkgchk/pkgchk.c
--- lsb-pkgchk3-3.2.1/tests/misc/pkgchk/pkgchk.c
+++ lsb-pkgchk3-3.2.1/tests/misc/pkgchk/pkgchk.c
@@ -172,7 +172,7 @@
         printf("also checking symbols in module %s\n", optarg);
         break;
       case 'j':
-        snprintf(journal_filename, TMP_STRING_SIZE, optarg);
+        snprintf(journal_filename, TMP_STRING_SIZE, "%s", optarg);
         overrideJournalFilename = 1;
         break;
       case 'd':
only in patch2:
unchanged:
--- lsb-pkgchk3-3.2.1.orig/tests/misc/rpmchk/vals.c
+++ lsb-pkgchk3-3.2.1/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