diff options
-rw-r--r-- | games-action/nighthawk/files/nighthawk-2.2-gcc42.patch | 4 | ||||
-rw-r--r-- | 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 619acd37f71f..a9ad8c98484a 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 000000000000..40f952143c39 --- /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 +} |