From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-893879-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DD2F613832E
	for <garchives@archives.gentoo.org>; Wed, 27 Jul 2016 16:55:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7C56821C051;
	Wed, 27 Jul 2016 16:55:49 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 20BEF21C051
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jul 2016 16:55:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 09FC1340D40
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jul 2016 16:55:48 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BF95A78D
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jul 2016 16:55:43 +0000 (UTC)
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" <wizardedit@gentoo.org>
Message-ID: <1469638533.0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f.wizardedit@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/nighthawk/files/, games-action/nighthawk/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-action/nighthawk/files/nighthawk-2.2-gcc42.patch games-action/nighthawk/nighthawk-2.2-r1.ebuild
X-VCS-Directories: games-action/nighthawk/ games-action/nighthawk/files/
X-VCS-Committer: wizardedit
X-VCS-Committer-Name: Austin English
X-VCS-Revision: 0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f
X-VCS-Branch: master
Date: Wed, 27 Jul 2016 16:55:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 3b70ecce-7ec3-4b6e-925e-19250f5ed030
X-Archives-Hash: 5f9e75dd4551bef72efbbab8ad954d36

commit:     0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 16:53:27 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 16:55:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e486ae3

games-action/nighthawk: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 .../nighthawk/files/nighthawk-2.2-gcc42.patch      |  4 +--
 games-action/nighthawk/nighthawk-2.2-r1.ebuild     | 29 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
index 619acd3..a9ad8c9 100644
--- a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
+++ b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
@@ -1,5 +1,5 @@
---- src_sound/dsp_mixxer.c
-+++ src_sound/dsp_mixxer.c
+--- a/src_sound/dsp_mixxer.c
++++ b/src_sound/dsp_mixxer.c
 @@ -302,10 +302,8 @@
    for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
    {

diff --git a/games-action/nighthawk/nighthawk-2.2-r1.ebuild b/games-action/nighthawk/nighthawk-2.2-r1.ebuild
new file mode 100644
index 0000000..40f9521
--- /dev/null
+++ b/games-action/nighthawk/nighthawk-2.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="A tribute to Paradroid by Andrew Braybrook"
+HOMEPAGE="http://night-hawk.sourceforge.net/nighthawk.html"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/arcade/${P}-1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXpm"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/nighthawk.patch
+	"${FILESDIR}"/${P}-gcc42.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i -e 's:AC_FD_MSG:6:g' configure || die #218936
+	sed -i -e '/LDFLAGS = /d' src/Makefile.in || die
+}