* Bump Standards-Version to 3.9.3 (no other changes necessary)
* Switch to source format "3.0 (quilt)"
* Add patch to fix FTBFS with -Werror=format-security
+ * Add slightly modified patch by Ulrich Eckhardt to provide better
+ diagnostics for directory renaming (Closes: #584850)
* Rewrite debian/rules with oldstyle debhelper utilities
+ Use compat-level 9
+ Add build-dependency on debhelper >= 9~
--- /dev/null
+Description: Provide better diagnostic for directories
+ Provides better diagnostic when renaming directories. Based on patch
+ by Ulrich Eckhardt <doomster@knuut.de>.
+Debian-Bug: 584850
+Author: Axel Beckert <abe@debian.org>
+
+Index: mmv/mmv.c
+===================================================================
+--- mmv.orig/mmv.c 2012-09-16 20:03:04.269626454 +0200
++++ mmv/mmv.c 2012-09-16 20:06:18.220733497 +0200
+@@ -1215,7 +1215,11 @@
+ getstat(pathbuf, ffrom);
+ if ((ffrom->fi_stflags & FI_ISDIR) ? !dirs : !fils)
+ #endif
++ {
++ if (verbose)
++ printf("ignoring directory %s\n", ffrom->fi_name);
+ return(0);
++ }
+
+ if (needslash) {
+ strcpy(pathend + *pk, SLASHSTR);