tags 646481 + patch
tags 646481 + pending
thanks

Dear maintainer,

I've prepared an NMU for uw-imap (versioned as 8:2007e~dfsg-3.2) and
uploaded it. Please find attach the diff.

Regards,
Ana
diff -u uw-imap-2007e~dfsg/debian/changelog uw-imap-2007e~dfsg/debian/changelog
--- uw-imap-2007e~dfsg/debian/changelog
+++ uw-imap-2007e~dfsg/debian/changelog
@@ -1,3 +1,11 @@
+uw-imap (8:2007e~dfsg-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with flag -Werror=format-security. Patch by Aurélien Jarno.
+   (Closes: #646481). 
+
+ -- Ana Beatriz Guerrero Lopez <a...@debian.org>  Sat, 03 Dec 2011 22:28:48 +0100
+
 uw-imap (8:2007e~dfsg-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u uw-imap-2007e~dfsg/debian/patches/series uw-imap-2007e~dfsg/debian/patches/series
--- uw-imap-2007e~dfsg/debian/patches/series
+++ uw-imap-2007e~dfsg/debian/patches/series
@@ -1,4 +1,5 @@
 1001_shlibs.patch
+1002_fix_ftbfs.patch
 2002_mailspool.patch
 2004_no_binaries_below_etc.patch
 2010_disallow_escaping_home.patch
only in patch2:
unchanged:
--- uw-imap-2007e~dfsg.orig/debian/patches/1002_fix_ftbfs.patch
+++ uw-imap-2007e~dfsg/debian/patches/1002_fix_ftbfs.patch
@@ -0,0 +1,11 @@
+--- a/src/osdep/unix/flocklnx.c
++++ b/src/osdep/unix/flocklnx.c
+@@ -57,7 +57,7 @@ int safe_flock (int fd,int op)
+     case ENOLCK:		/* lock table is full */
+       sprintf (tmp,"File locking failure: %s",strerror (errno));
+       mm_log (tmp,WARN);	/* give the user a warning of what happened */
+-      if (!logged++) syslog (LOG_ERR,tmp);
++	  if (!logged++) syslog ("%s",LOG_ERR,tmp);
+ 				/* return failure if non-blocking lock */
+       if (op & LOCK_NB) return -1;
+       sleep (5);		/* slow down in case it loops */

Reply via email to