Skip to content

Commit

Permalink
games-board/mt_gtk_client: fix compilation with format-security. Bug …
Browse files Browse the repository at this point in the history
…#546408

Package-Manager: portage-2.2.20.1
  • Loading branch information
atupone committed Oct 14, 2015
1 parent e036f11 commit 5124966
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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,
6 changes: 5 additions & 1 deletion games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# $Id$

EAPI=5
inherit games
inherit games eutils

DESCRIPTION="client for the french tarot game maitretarot"
HOMEPAGE="http://www.nongnu.org/maitretarot/"
Expand All @@ -23,6 +23,10 @@ DEPEND="dev-libs/glib:2
RDEPEND="${DEPEND}
dev-games/cardpics"

src_prepare() {
epatch "${FILESDIR}"/${P}-formatsecurity.patch
}

src_configure() {
egamesconf $(use_enable gnome gnome2)
}
Expand Down

0 comments on commit 5124966

Please sign in to comment.