From: Jan Rękorajski Date: Mon, 12 Nov 2012 21:42:01 +0000 (+0100) Subject: - fix -Wformat-security error X-Git-Tag: auto/th/dasher-4.11-4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=907d2ee2a9b5e572db99aa6604356c6fd60e9e73;p=packages%2Fdasher.git - fix -Wformat-security error - rel 4 --- 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); + 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}