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 +}
