tags 643466 + patch
tags 643466 + pending
thanks

Dear maintainer,

I've prepared an NMU for remind (versioned as 03.01.10-1.1) and
uploaded it. Please find attached the diff.

Regards,
Ana
diff -Nru remind-03.01.10/debian/changelog remind-03.01.10/debian/changelog
--- remind-03.01.10/debian/changelog	2011-04-10 22:04:14.000000000 +0200
+++ remind-03.01.10/debian/changelog	2011-12-03 23:13:29.000000000 +0100
@@ -1,3 +1,10 @@
+remind (03.01.10-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with flag -Werror=format-security. (Closes: #643466)
+
+ -- Ana Beatriz Guerrero Lopez <a...@debian.org>  Sat, 03 Dec 2011 23:10:31 +0100
+
 remind (03.01.10-1) unstable; urgency=low
 
   * New Upstream Version. (Closes: #573184, #566374, #522068)
diff -Nru remind-03.01.10/debian/patches/fix_ftbfs remind-03.01.10/debian/patches/fix_ftbfs
--- remind-03.01.10/debian/patches/fix_ftbfs	1970-01-01 01:00:00.000000000 +0100
+++ remind-03.01.10/debian/patches/fix_ftbfs	2011-12-03 23:10:20.000000000 +0100
@@ -0,0 +1,52 @@
+--- a/src/init.c
++++ b/src/init.c
+@@ -570,12 +570,12 @@ void InitRemind(int argc, char const *ar
+ 	    }
+ 	    if (d == NO_DAY) d=1;
+ 	    if (d > DaysInMonth(m, y)) {
+-		fprintf(ErrFp, BadDate);
++		fprintf(ErrFp, "%s", BadDate);
+ 		Usage();
+ 	    }
+ 	    JulianToday = Julian(y, m, d);
+ 	    if (JulianToday == -1) {
+-		fprintf(ErrFp, BadDate);
++		fprintf(ErrFp, "%s", BadDate);
+ 		Usage();
+ 	    }
+ 	    CurYear = y;
+@@ -678,7 +678,7 @@ static void ChgUser(char const *user)
+ 
+     home = malloc(strlen(pwent->pw_dir) + 6);
+     if (!home) {
+-	fprintf(ErrFp, ErrMsg[M_NOMEM_ENV]);
++	fprintf(ErrFp, "%s", ErrMsg[M_NOMEM_ENV]);
+ 	exit(1);
+     }
+     sprintf(home, "HOME=%s", pwent->pw_dir);
+@@ -686,7 +686,7 @@ static void ChgUser(char const *user)
+ 
+     shell = malloc(strlen(pwent->pw_shell) + 7);
+     if (!shell) {
+-	fprintf(ErrFp, ErrMsg[M_NOMEM_ENV]);
++	fprintf(ErrFp, "%s", ErrMsg[M_NOMEM_ENV]);
+ 	exit(1);
+     }
+     sprintf(shell, "SHELL=%s", pwent->pw_shell);
+@@ -695,14 +695,14 @@ static void ChgUser(char const *user)
+     if (pwent->pw_uid) {
+ 	username = malloc(strlen(pwent->pw_name) + 6);
+ 	if (!username) {
+-	    fprintf(ErrFp, ErrMsg[M_NOMEM_ENV]);
++	    fprintf(ErrFp, "%s", ErrMsg[M_NOMEM_ENV]);
+ 	    exit(1);
+ 	}
+ 	sprintf(username, "USER=%s", pwent->pw_name);
+ 	putenv(username);
+ 	logname= malloc(strlen(pwent->pw_name) + 9);
+ 	if (!logname) {
+-	    fprintf(ErrFp, ErrMsg[M_NOMEM_ENV]);
++	    fprintf(ErrFp, "%s", ErrMsg[M_NOMEM_ENV]);
+ 	    exit(1);
+ 	}
+ 	sprintf(logname, "LOGNAME=%s", pwent->pw_name);
diff -Nru remind-03.01.10/debian/patches/series remind-03.01.10/debian/patches/series
--- remind-03.01.10/debian/patches/series	2011-04-06 23:36:13.000000000 +0200
+++ remind-03.01.10/debian/patches/series	2011-12-03 23:14:03.000000000 +0100
@@ -2,5 +2,4 @@
 manpage-escape-minuses.diff
 do-not-strip.diff
 cleanout-www-makefile.diff
-
-
+fix_ftbfs

Reply via email to