public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/mt_dolphin_ia/files/, games-board/mt_dolphin_ia/
@ 2016-08-05  0:23 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-08-05  0:23 UTC (permalink / raw
  To: gentoo-commits

commit:     85c7ace5f444f9fa534bb7c0c56f7f679269b380
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 19:03:21 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 00:22:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c7ace5

games-board/mt_dolphin_ia: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 .../mt_dolphin_ia-0.1.98-formatsecurity.patch      |  4 ++--
 .../mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild   | 24 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 2 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
index c949a4a..af4cc43 100644
--- 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
@@ -1,5 +1,5 @@
---- 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
+--- a/src/player_client.c	2015-10-14 21:19:05.347505352 +0200
++++ b/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);

diff --git a/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild
new file mode 100644
index 0000000..30c0ca7
--- /dev/null
+++ b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="client for the french tarot game maitretarot"
+HOMEPAGE="http://www.nongnu.org/maitretarot/"
+SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/glib:2
+	dev-libs/libxml2
+	dev-games/libmaitretarot
+	dev-games/libmt_client"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+	"${FILESDIR}"/${P}-formatsecurity.patch
+)


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-board/mt_dolphin_ia/files/, games-board/mt_dolphin_ia/
@ 2015-10-14 19:38 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2015-10-14 19:38 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-05  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2015-10-14 19:38 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox