[packages/input-pad] - fix error coused by -Wformat-security - rel 6
baggins
baggins at pld-linux.org
Mon Nov 19 01:20:44 CET 2012
commit 60336748668824b28786166b95af4acee612c11b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Nov 19 01:20:27 2012 +0100
- fix error coused by -Wformat-security
- rel 6
input-pad-format-security.patch | 11 +++++++++++
input-pad.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/input-pad.spec b/input-pad.spec
index b0ebbcf..5520e8a 100644
--- a/input-pad.spec
+++ b/input-pad.spec
@@ -1,11 +1,12 @@
Summary: On-screen Input Pad to Send Characters with Mouse
Name: input-pad
Version: 1.0.1
-Release: 5
+Release: 6
License: LGPL v2+
Group: Libraries
Source0: http://input-pad.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: 320461990a87fc31fd504c438fe9707a
+Patch0: %{name}-format-security.patch
URL: http://code.google.com/p/input-pad/
BuildRequires: eekboard-devel
BuildRequires: gtk+3-devel
@@ -48,6 +49,7 @@ The input-pad-eek package contains eekboard extension module
%prep
%setup -q
+%patch0 -p1
%build
%configure \
diff --git a/input-pad-format-security.patch b/input-pad-format-security.patch
new file mode 100644
index 0000000..7474ef4
--- /dev/null
+++ b/input-pad-format-security.patch
@@ -0,0 +1,11 @@
+--- input-pad-1.0.1/input-pad/geometry-gdk.c~ 2011-05-19 05:27:32.000000000 +0200
++++ input-pad-1.0.1/input-pad/geometry-gdk.c 2012-11-19 01:17:50.980693017 +0100
+@@ -581,7 +581,7 @@
+ }
+ line = g_string_free (string, FALSE);
+ if (line) {
+- g_debug (line);
++ g_debug ("%s", line);
+ g_free (line);
+ }
+ list = list->next;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/input-pad.git/commitdiff/60336748668824b28786166b95af4acee612c11b
More information about the pld-cvs-commit
mailing list