tags 643409 + patch
tags 643409 + pending
thanks

Dear maintainer,

I've prepared an NMU for ippl (versioned as 1.4.14-12.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Eric Clapton: After Midnight
diff -u ippl-1.4.14/debian/changelog ippl-1.4.14/debian/changelog
--- ippl-1.4.14/debian/changelog
+++ ippl-1.4.14/debian/changelog
@@ -1,3 +1,13 @@
+ippl (1.4.14-12.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: log.c:150:5: error: format not a string literal and no
+    format arguments [-Werror=format-security]": new patch
+    60-format-security.dpatch: adds format arguments.
+    Closes: #643409
+
+ -- gregor herrmann <gre...@debian.org>  Wed, 21 Dec 2011 18:00:26 +0100
+
 ippl (1.4.14-12) unstable; urgency=low
 
   * Fix wrong logic in /lib/lsb/init-functions processing. Closes: #565495
diff -u ippl-1.4.14/debian/patches/00list ippl-1.4.14/debian/patches/00list
--- ippl-1.4.14/debian/patches/00list
+++ ippl-1.4.14/debian/patches/00list
@@ -5,0 +6 @@
+60-format-security
only in patch2:
unchanged:
--- ippl-1.4.14.orig/debian/patches/60-format-security.dpatch
+++ ippl-1.4.14/debian/patches/60-format-security.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60-format-security.dpatch by gregor herrmann <gre...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: add format argument to avoid FTBFS with -Werror=format-security
+## DP: http://bugs.debian.org/643409
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' ippl-1.4.14~/Source/log.c ippl-1.4.14/Source/log.c
+--- ippl-1.4.14~/Source/log.c	2001-09-29 17:48:27.000000000 +0200
++++ ippl-1.4.14/Source/log.c	2011-12-21 17:59:01.000000000 +0100
+@@ -147,7 +147,7 @@
+   }
+ 
+   if (repeats > 0) {
+-    snprintf(date, 27, asctime(localtime(&last_repeat)));
++    snprintf(date, 27, "%s", asctime(localtime(&last_repeat)));
+     snprintf(repeat_message, 40, "last message repeated %d time(s)\n", repeats);
+     write(fd, date+4, strlen(date)-10);
+     write(fd, " ", 1);
+@@ -155,7 +155,7 @@
+     repeats = 0;
+   }
+ 
+-  snprintf(date, 27, asctime(localtime(&current)));
++  snprintf(date, 27, "%s", asctime(localtime(&current)));
+   write(fd, date+4, strlen(date)-10);
+   write(fd, " ", 1);
+   write(fd, entry, (strlen(entry) < 1023) ? strlen(entry) : 1023 );

Attachment: signature.asc
Description: Digital signature

Reply via email to