]> git.pld-linux.org Git - packages/SaWMan.git/commitdiff
- added format patch (workarounds to build with -Werror=format-security) auto/th/SaWMan-1.6.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Oct 2012 17:29:46 +0000 (19:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Oct 2012 17:29:46 +0000 (19:29 +0200)
SaWMan-format.patch [new file with mode: 0644]
SaWMan.spec

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);
+                }
index 8da246791ec8973142aaad2cb6ddd30614eb040d..2a9a2b502b77b05d3ffb98c998f4962596399d16 100644 (file)
@@ -7,6 +7,7 @@ License:        LGPL v2+
 Group:         Libraries
 Source0:       http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz
 # Source0-md5: aeb87cd87a4241f9d4d55a6a363c4b4a
+Patch0:                %{name}-format.patch
 URL:           http://www.directfb.org/index.php?path=Platform/SaWMan
 BuildRequires: DirectFB-devel >= 1:1.6.0
 BuildRequires: pkgconfig >= 1:0.9
@@ -54,6 +55,7 @@ Statyczna biblioteka sawman.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
This page took 0.077783 seconds and 4 git commands to generate.