X-Git-Url: https://git.deb.at/w?p=pkg%2Fmmv.git;a=blobdiff_plain;f=debian%2Fpatches%2Fformat-security.diff;fp=debian%2Fpatches%2Fformat-security.diff;h=3b813f1acd877ecb979e777a6c8acb5c447ff940;hp=0000000000000000000000000000000000000000;hb=1bbaee79aae178306e3cf841a2e53089ad7533be;hpb=3acbfe931d70c61ea28d55989a4bdd98a8ee418e diff --git a/debian/patches/format-security.diff b/debian/patches/format-security.diff new file mode 100644 index 0000000..3b813f1 --- /dev/null +++ b/debian/patches/format-security.diff @@ -0,0 +1,17 @@ +Description: Fixes build failure with -Werror=format-security + ("format not a string literal and no format arguments") +Author: Axel Beckert + +Index: mmv/mmv.c +=================================================================== +--- mmv.orig/mmv.c 2012-09-16 18:51:28.000000000 +0200 ++++ mmv/mmv.c 2012-09-16 18:59:20.600733584 +0200 +@@ -2828,7 +2828,7 @@ + static FILE *tty = NULL; + int c, r; + +- fprintf(stderr, m); ++ fprintf(stderr, "%s", m); + if (tty == NULL && (tty = fopen(TTY, "r")) == NULL) { + fprintf(stderr, "Can not open %s to get reply.\n", TTY); + if (failact == -1)