diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/mt_dolphin_ia/files/mt_dolphin_ia-0.1.98-formatsecurity.patch | 11 | ||||
-rw-r--r-- | games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/games-board/mt_dolphin_ia/files/mt_dolphin_ia-0.1.98-formatsecurity.patch b/games-board/mt_dolphin_ia/files/mt_dolphin_ia-0.1.98-formatsecurity.patch new file mode 100644 index 000000000000..c949a4a5817c --- /dev/null +++ b/games-board/mt_dolphin_ia/files/mt_dolphin_ia-0.1.98-formatsecurity.patch @@ -0,0 +1,11 @@ +--- src/player_client.c.old 2015-10-14 21:19:05.347505352 +0200 ++++ src/player_client.c 2015-10-14 21:19:22.057195175 +0200 +@@ -33,7 +33,7 @@ + { + player->nick[0] = g_string_new (config->player_name->str); + +- g_printerr (player->nick[0]->str); ++ g_printerr ("%s", player->nick[0]->str); + + return (0); + } diff --git a/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild index 6d276408cc52..6a7d705aaaa6 100644 --- a/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild +++ b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild @@ -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/" @@ -20,6 +20,10 @@ DEPEND="dev-libs/glib:2 dev-games/libmt_client" RDEPEND=${DEPEND} +src_prepare() { + epatch "${FILESDIR}"/${P}-formatsecurity.patch +} + src_install() { default prepgamesdirs |