+glabels (2.2.8-3) unstable; urgency=low
+
+ * QA upload.
+ * Fix "FTBFS: plessey.c:151:9: error: format not a string literal and
+ no format arguments [-Werror=format-security]": new patch
+ 30_Werror-format-security.patch: add format argument to sprintf call.
+ (Closes: #643390)
+ * New patch 40_linker.patch: add '-lm' to linker arguments, otherwise the
+ build fails with binutils-gold or --no-add-needed.
+
+ -- gregor herrmann <gregoa@debian.org> Mon, 19 Dec 2011 19:00:44 +0100
+
glabels (2.2.8-2) unstable; urgency=low
[ Olivier Berger ]
--- /dev/null
+Description: add format argument to sprintf call to prevent failure with -Werror=format-security
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/bug=643390
+Forwarded: no
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2011-12-19
+
+--- a/barcode-0.98/plessey.c
++++ b/barcode-0.98/plessey.c
+@@ -148,7 +148,7 @@
+ checkptr[i+j] ^= check[j];
+ }
+ for (i = 0; i < 8; i++) {
+- sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
++ sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]);
+ ptr += 2;
+ }
+ fprintf(stderr, "CRC: ");
--- /dev/null
+Description: add '-lm' to linker arguments, otherwise the linking fails with binutils-golds or --no-add-needed
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2011-12-19
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -30,7 +30,8 @@
+ ../libglabels/libglabels.la \
+ mygal/libmygal.la \
+ $(LIB_BARCODE_DIR)/libbarcode.la \
+- $(LIB_IEC16022_DIR)/libiec16022.la
++ $(LIB_IEC16022_DIR)/libiec16022.la \
++ -lm
+
+ glabels_batch_LDFLAGS = -export-dynamic
+
+@@ -38,7 +39,8 @@
+ $(GLABELS_LIBS) \
+ ../libglabels/libglabels.la \
+ $(LIB_BARCODE_DIR)/libbarcode.la \
+- $(LIB_IEC16022_DIR)/libiec16022.la
++ $(LIB_IEC16022_DIR)/libiec16022.la \
++ -lm
+
+ BUILT_SOURCES = \
+ marshal.c \
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -365,14 +365,16 @@
+ ../libglabels/libglabels.la \
+ mygal/libmygal.la \
+ $(LIB_BARCODE_DIR)/libbarcode.la \
+- $(LIB_IEC16022_DIR)/libiec16022.la
++ $(LIB_IEC16022_DIR)/libiec16022.la \
++ -lm
+
+ glabels_batch_LDFLAGS = -export-dynamic
+ glabels_batch_LDADD = \
+ $(GLABELS_LIBS) \
+ ../libglabels/libglabels.la \
+ $(LIB_BARCODE_DIR)/libbarcode.la \
+- $(LIB_IEC16022_DIR)/libiec16022.la
++ $(LIB_IEC16022_DIR)/libiec16022.la \
++ -lm
+
+ BUILT_SOURCES = \
+ marshal.c \