]> git.pld-linux.org Git - packages/SaWMan.git/blobdiff - SaWMan-format.patch
- added format patch (workarounds to build with -Werror=format-security)
[packages/SaWMan.git] / SaWMan-format.patch
diff --git a/SaWMan-format.patch b/SaWMan-format.patch
new file mode 100644 (file)
index 0000000..84aca04
--- /dev/null
@@ -0,0 +1,20 @@
+--- SaWMan-1.6.2/src/sawman_config.c.orig      2012-09-20 17:19:17.000000000 +0200
++++ SaWMan-1.6.2/src/sawman_config.c   2012-10-06 19:28:41.470170130 +0200
+@@ -85,7 +85,7 @@
+                *next++ = '\0';
+           if (strcmp (buf, "help") == 0) {
+-               fprintf( stderr, config_usage );
++               fputs( config_usage, stderr );
+                exit(1);
+           }
+@@ -515,7 +515,7 @@
+           for (i = 1; i < *argc; i++) {
+                if (!strcmp( (*argv)[i], "--sawman-help" )) {
+-                    fprintf( stderr, config_usage );
++                    fputs( config_usage, stderr );
+                     exit(1);
+                }
This page took 0.072319 seconds and 4 git commands to generate.