public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/mt_dolphin_ia/files/, games-board/mt_dolphin_ia/
Date: Wed, 14 Oct 2015 19:38:19 +0000 (UTC)	[thread overview]
Message-ID: <1444851479.e036f115730476b3f621d1e910ea0d4e98588504.tupone@gentoo> (raw)

commit:     e036f115730476b3f621d1e910ea0d4e98588504
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 14 19:36:49 2015 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> 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


             reply	other threads:[~2015-10-14 19:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 19:38 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-05  0:23 [gentoo-commits] repo/gentoo:master commit in: games-board/mt_dolphin_ia/files/, games-board/mt_dolphin_ia/ Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444851479.e036f115730476b3f621d1e910ea0d4e98588504.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox