From: Jan Rękorajski Date: Mon, 15 Oct 2012 14:55:50 +0000 (+0200) Subject: - fix -Wformat-security errors X-Git-Tag: auto/th/gnome-applets-3.5.92-2~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=43a9b47130d82a1ad4f723e42be6ef0534cb69eb;p=packages%2Fgnome-applets.git - fix -Wformat-security errors --- diff --git a/format-security.patch b/format-security.patch new file mode 100644 index 0000000..6007f91 --- /dev/null +++ b/format-security.patch @@ -0,0 +1,11 @@ +--- gnome-applets-3.5.92/mini-commander/src/preferences.c~ 2012-09-19 23:46:37.000000000 +0200 ++++ gnome-applets-3.5.92/mini-commander/src/preferences.c 2012-10-15 16:55:11.066420081 +0200 +@@ -415,7 +415,7 @@ + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, +- error_message); ++ "%s", error_message); + + g_signal_connect (error_dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); + gtk_window_set_resizable (GTK_WINDOW (error_dialog), FALSE); diff --git a/gnome-applets.spec b/gnome-applets.spec index 0c80171..73b3f1f 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -4,7 +4,7 @@ Summary(ru.UTF-8): Маленькие программы, встраивающи Summary(uk.UTF-8): Маленькі програми, що вбудовуються в панель GNOME Name: gnome-applets Version: 3.5.92 -Release: 1 +Release: 1.1 Epoch: 1 License: GPL v2, FDL Group: X11/Applications @@ -12,6 +12,7 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/3.5/%{name}-%{vers # Source0-md5: e38a776431e648a2932fa5c6ebff40a4 # check paths in Makefile before removing it! Patch0: %{name}-m4_fix.patch +Patch1: format-security.patch URL: http://www.gnome.org/ BuildRequires: GConf2-devel >= 2.26.0 BuildRequires: NetworkManager-devel >= 0.7 @@ -383,6 +384,7 @@ ale jest przydatny o tyle, że panele są zawsze widoczne. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__gnome_doc_prepare}