summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2015-10-14 21:59:27 +0200
committerTupone Alfredo <tupone@gentoo.org>2015-10-14 21:59:27 +0200
commit51249664fe63388e17904b864dca471c273af208 (patch)
tree070855cb586fb9dc2a0ee102a77b38edeae822b1 /games-board/mt_gtk_client/files
parentgames-board/mt_dolphin_ia: compile with format-security (bug #546546) (diff)
downloadgentoo-51249664fe63388e17904b864dca471c273af208.tar.gz
gentoo-51249664fe63388e17904b864dca471c273af208.tar.bz2
gentoo-51249664fe63388e17904b864dca471c273af208.zip
games-board/mt_gtk_client: fix compilation with format-security. Bug #546408
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-board/mt_gtk_client/files')
-rw-r--r--games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch b/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
new file mode 100644
index 000000000000..869e0ea8220b
--- /dev/null
+++ b/games-board/mt_gtk_client/files/mt_gtk_client-0.1.98-formatsecurity.patch
@@ -0,0 +1,11 @@
+--- src/player.c.old 2015-10-14 21:52:59.453971198 +0200
++++ src/player.c 2015-10-14 21:53:36.375289009 +0200
+@@ -52,7 +52,7 @@
+ {
+ player->nick[0] = g_string_new (config->gui_player_name->str);
+
+- g_printerr (player->nick[0]->str);
++ g_printerr ("%s", player->nick[0]->str);
+
+ gdk_threads_enter ();
+ gtk_statusbar_push (GTK_STATUSBAR (gui_statusbar), 0,