diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2016-04-11 20:49:55 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2016-04-11 20:50:04 +0200 |
commit | 9163e59ab6e1a1ce4b2a8edca956eca3c43fbceb (patch) | |
tree | 15fd8a9870f50945ec17926cecd3aefc1d157394 /x11-misc/wmakerconf/files | |
parent | kde-misc/rsibreak: Use add_qt_dep function (diff) | |
download | gentoo-9163e59ab6e1a1ce4b2a8edca956eca3c43fbceb.tar.gz gentoo-9163e59ab6e1a1ce4b2a8edca956eca3c43fbceb.tar.bz2 gentoo-9163e59ab6e1a1ce4b2a8edca956eca3c43fbceb.zip |
x11-misc/wmakerconf: fix compilation with format-security
Bug #579442 by ago
Update ebuild for EAPI 6
Package-Manager: portage-2.2.28
Diffstat (limited to 'x11-misc/wmakerconf/files')
-rw-r--r-- | x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch | 4 | ||||
-rw-r--r-- | x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch index 2277c6c76e06..184fa55ea04e 100644 --- a/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch +++ b/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch @@ -1,5 +1,5 @@ ---- wmakerconf.desktop.in.orig 2015-08-23 23:14:56.272180470 +0200 -+++ wmakerconf.desktop.in 2015-08-23 23:15:05.446195859 +0200 +--- wmakerconf-2.12.orig/wmakerconf.desktop.in 2015-08-23 23:14:56.272180470 +0200 ++++ wmakerconf-2.12/wmakerconf.desktop.in 2015-08-23 23:15:05.446195859 +0200 @@ -10,4 +10,4 @@ Icon=@prefix@/share/wmakerconf/wmakerconf.xpm Terminal=false diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch new file mode 100644 index 000000000000..91b6109fddbe --- /dev/null +++ b/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch @@ -0,0 +1,12 @@ +diff -Naur wmakerconf-2.12.orig/src/error.c wmakerconf-2.12/src/error.c +--- wmakerconf-2.12.orig/src/error.c 2004-12-05 02:44:37.000000000 +0100 ++++ wmakerconf-2.12/src/error.c 2016-04-11 20:42:32.810590888 +0200 +@@ -109,7 +109,7 @@ + GtkTextIter iter; + GtkTextBuffer *buffer; + +- g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, message); ++ g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, "%s", message); + Free (text); + buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (log_text)); + gtk_text_buffer_get_iter_at_offset (buffer, &iter, -1); |