commit 907d2ee2a9b5e572db99aa6604356c6fd60e9e73
Author: Jan Rękorajski <[email protected]>
Date:   Mon Nov 12 22:42:01 2012 +0100

    - fix -Wformat-security error
    - rel 4

 dasher-format-security.patch | 11 +++++++++++
 dasher.spec                  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/dasher.spec b/dasher.spec
index 996504c..628a48e 100644
--- a/dasher.spec
+++ b/dasher.spec
@@ -2,11 +2,12 @@ Summary:      Predictive text entry application
 Summary(pl.UTF-8):     Przewidująca aplikacja do wprowadzania tekstu
 Name:          dasher
 Version:       4.11
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         X11/Applications/Accessibility
 Source0:       
http://ftp.gnome.org/pub/GNOME/sources/dasher/4.11/%{name}-%{version}.tar.bz2
 # Source0-md5: 55695cacecb9fa9e3259e0f2ef82ae9e
+Patch0:                %{name}-format-security.patch
 URL:           http://www.inference.phy.cam.ac.uk/dasher/
 BuildRequires: GConf2-devel >= 2.20.0
 BuildRequires: ORBit2-devel >= 1:2.14.7
@@ -64,6 +65,7 @@ minutę.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__glib_gettextize}
diff --git a/dasher-format-security.patch b/dasher-format-security.patch
new file mode 100644
index 0000000..15b0457
--- /dev/null
+++ b/dasher-format-security.patch
@@ -0,0 +1,11 @@
+--- dasher-4.11/Src/Gtk2/game_mode_helper.cpp~ 2009-12-18 19:40:29.000000000 
+0100
++++ dasher-4.11/Src/Gtk2/game_mode_helper.cpp  2012-11-12 22:40:43.545981765 
+0100
+@@ -324,7 +324,7 @@
+                                  GTK_DIALOG_MODAL,
+                                  GTK_MESSAGE_INFO,
+                                  GTK_BUTTONS_OK,
+-                                 message);
++                                 "%s", message);
+   gtk_dialog_run (GTK_DIALOG (pDialog));
+   gtk_widget_destroy (pDialog);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dasher.git/commitdiff/907d2ee2a9b5e572db99aa6604356c6fd60e9e73

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to