From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CF08D13888F for ; Wed, 14 Oct 2015 19:38:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE27221C001; Wed, 14 Oct 2015 19:38:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E31121C001 for ; Wed, 14 Oct 2015 19:38:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FA09340812 for ; Wed, 14 Oct 2015 19:38:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43B8C178 for ; Wed, 14 Oct 2015 19:38:19 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1444851479.e036f115730476b3f621d1e910ea0d4e98588504.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/mt_dolphin_ia/files/, games-board/mt_dolphin_ia/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/mt_dolphin_ia/files/mt_dolphin_ia-0.1.98-formatsecurity.patch games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild X-VCS-Directories: games-board/mt_dolphin_ia/ games-board/mt_dolphin_ia/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: e036f115730476b3f621d1e910ea0d4e98588504 X-VCS-Branch: master Date: Wed, 14 Oct 2015 19:38:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 19c25399-1da0-4b7a-9526-c16ecb833866 X-Archives-Hash: 8085ea1d164503520bd9127e8df48bec commit: e036f115730476b3f621d1e910ea0d4e98588504 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Oct 14 19:36:49 2015 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Oct 14 19:37:59 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e036f115 games-board/mt_dolphin_ia: compile with format-security (bug #546546) Package-Manager: portage-2.2.20.1 .../files/mt_dolphin_ia-0.1.98-formatsecurity.patch | 11 +++++++++++ games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98.ebuild | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) 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 0000000..c949a4a --- /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 6d27640..6a7d705 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