diff options
-rw-r--r-- | games-board/maitretarot/files/maitretarot-0.1.98-format.patch | 11 | ||||
-rw-r--r-- | games-board/maitretarot/maitretarot-0.1.98.ebuild | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/games-board/maitretarot/files/maitretarot-0.1.98-format.patch b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch new file mode 100644 index 000000000000..b3ff1fe1db1f --- /dev/null +++ b/games-board/maitretarot/files/maitretarot-0.1.98-format.patch @@ -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; diff --git a/games-board/maitretarot/maitretarot-0.1.98.ebuild b/games-board/maitretarot/maitretarot-0.1.98.ebuild index 631fc95ea9bb..fb65203408be 100644 --- a/games-board/maitretarot/maitretarot-0.1.98.ebuild +++ b/games-board/maitretarot/maitretarot-0.1.98.ebuild @@ -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" |