]> git.pld-linux.org Git - packages/gnome-applets.git/commitdiff
- fix -Wformat-security errors
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Oct 2012 14:55:50 +0000 (16:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Oct 2012 14:55:50 +0000 (16:55 +0200)
format-security.patch [new file with mode: 0644]
gnome-applets.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..6007f91
--- /dev/null
@@ -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);
index 0c80171811ee83972935503ba7baee792814e297..73b3f1f7cc240a1967e63b5303822129fb9ae7ad 100644 (file)
@@ -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}
This page took 0.036204 seconds and 4 git commands to generate.