]> git.pld-linux.org Git - packages/dasher.git/commitdiff
- fix -Wformat-security error auto/th/dasher-4.11-4
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Nov 2012 21:42:01 +0000 (22:42 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Nov 2012 21:42:01 +0000 (22:42 +0100)
- rel 4

dasher-format-security.patch [new file with mode: 0644]
dasher.spec

diff --git a/dasher-format-security.patch b/dasher-format-security.patch
new file mode 100644 (file)
index 0000000..15b0457
--- /dev/null
@@ -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);
index 996504c09a686b00622be0ba10d64c7f57a02d3c..628a48e1520044ae30d70e593962ecff645b8716 100644 (file)
@@ -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}
This page took 0.080723 seconds and 4 git commands to generate.