mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
games-board/maitretarot: format-security. Bug #543016
Package-Manager: portage-2.2.24
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- src/game.c.old 2015-12-16 21:59:49.400430743 +0100
|
||||
+++ src/game.c 2015-12-16 21:59:11.085058332 +0100
|
||||
@@ -642,7 +642,7 @@
|
||||
(game, prev_winner, c, ((i + prev_winner) % 4),
|
||||
game->players[((i + prev_winner) % 4)]->turn, &err))
|
||||
{
|
||||
- g_message (err->message);
|
||||
+ g_message ("%s", err->message);
|
||||
turn_nok = TRUE;
|
||||
game->players[((i + prev_winner) % 4)]->ready =
|
||||
MT_PLAYER_READY_SEND_NOK_FOR_CARD;
|
||||
@@ -3,7 +3,7 @@
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit games
|
||||
inherit games eutils
|
||||
|
||||
DESCRIPTION="server for the french tarot game maitretarot"
|
||||
HOMEPAGE="http://www.nongnu.org/maitretarot/"
|
||||
@@ -19,6 +19,10 @@ DEPEND="dev-libs/glib:2
|
||||
dev-games/libmaitretarot"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-format.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--with-default-config-file="${GAMES_SYSCONFDIR}/maitretarotrc.xml"
|
||||
|
||||
Reference in New Issue
Block a user