From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/ninvaders/files/, games-arcade/ninvaders/
Date: Thu, 21 Jan 2016 18:36:02 +0000 (UTC) [thread overview]
Message-ID: <1453401345.cdb23c75c666d2a8e1de086373cd18b5248727eb.mr_bones_@gentoo> (raw)
commit: cdb23c75c666d2a8e1de086373cd18b5248727eb
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 18:33:38 2016 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 18:35:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb23c75
games-arcade/ninvaders: fix compile warning and maybe fix bug #554674
Package-Manager: portage-2.2.26
games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch | 11 +++++++++++
games-arcade/ninvaders/ninvaders-0.1.1.ebuild | 8 ++++++--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch
new file mode 100644
index 0000000..c949d43
--- /dev/null
+++ b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch
@@ -0,0 +1,11 @@
+--- aliens.c.orig 2016-01-21 13:21:51.730154342 -0500
++++ aliens.c 2016-01-21 13:22:09.488543075 -0500
+@@ -163,7 +163,7 @@
+ aliens.right=-1;
+ aliens.bottom=-1;
+ shipnum=0;
+- for (k=0;k<11;k++) {
++ for (k=0;k<ALIENS_MAX_NUMBER_X;k++) {
+ lowest_ship[k]=-1;
+ }
+
diff --git a/games-arcade/ninvaders/ninvaders-0.1.1.ebuild b/games-arcade/ninvaders/ninvaders-0.1.1.ebuild
index 2a12d90..205ce46 100644
--- a/games-arcade/ninvaders/ninvaders-0.1.1.ebuild
+++ b/games-arcade/ninvaders/ninvaders-0.1.1.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit toolchain-funcs games
+inherit eutils toolchain-funcs games
DESCRIPTION="ASCII space invaders clone"
HOMEPAGE="http://ninvaders.sourceforge.net/"
@@ -15,7 +15,11 @@ KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="sys-libs/ncurses:0"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-compile.patch
+}
src_compile() {
emake \
next reply other threads:[~2016-01-21 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 18:36 Michael Sterrett [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-30 13:14 [gentoo-commits] repo/gentoo:master commit in: games-arcade/ninvaders/files/, games-arcade/ninvaders/ Stefan Strogin
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=1453401345.cdb23c75c666d2a8e1de086373cd18b5248727eb.mr_bones_@gentoo \
--to=mr_bones_@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