diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-01-06 22:26:21 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-01-06 22:26:21 +0000 |
commit | cd6f658404345ffc91ee383382305513c1861519 (patch) | |
tree | 6382e0c87e826a629ca1aaf183926433ec41c3ae /games-arcade | |
parent | kernel-mod -> linux-mod and remove oldies (#74417) (Manifest recommit) (diff) | |
download | gentoo-2-cd6f658404345ffc91ee383382305513c1861519.tar.gz gentoo-2-cd6f658404345ffc91ee383382305513c1861519.tar.bz2 gentoo-2-cd6f658404345ffc91ee383382305513c1861519.zip |
Added to ~amd64
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/netris/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/netris/files/netris-time.patch | 11 | ||||
-rw-r--r-- | games-arcade/netris/netris-0.52.ebuild | 9 |
3 files changed, 23 insertions, 5 deletions
diff --git a/games-arcade/netris/ChangeLog b/games-arcade/netris/ChangeLog index d9b6a5eb7751..048c162b6032 100644 --- a/games-arcade/netris/ChangeLog +++ b/games-arcade/netris/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/netris -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/netris/ChangeLog,v 1.4 2004/06/24 22:09:13 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/netris/ChangeLog,v 1.5 2005/01/06 22:26:21 sekretarz Exp $ + + 06 Jan 2005; Karol Wojtaszek <sekretarz@gentoo.org> + +files/netris-time.patch, netris-0.52.ebuild: + Added to ~amd64 *netris-0.52 (23 Sep 2003) diff --git a/games-arcade/netris/files/netris-time.patch b/games-arcade/netris/files/netris-time.patch new file mode 100644 index 000000000000..7fc4fba9791c --- /dev/null +++ b/games-arcade/netris/files/netris-time.patch @@ -0,0 +1,11 @@ +diff -Naur netris-0.52/curses.c netris-0.52.patched/curses.c +--- netris-0.52/curses.c 2003-08-13 03:33:02.000000000 +0200 ++++ netris-0.52.patched/curses.c 2005-01-03 16:27:30.646054296 +0100 +@@ -25,6 +25,7 @@ + #include <curses.h> + #include <string.h> + #include <stdlib.h> ++#include <time.h> + + #ifdef NCURSES_VERSION + # define HAVE_NCURSES diff --git a/games-arcade/netris/netris-0.52.ebuild b/games-arcade/netris/netris-0.52.ebuild index afe78be19fef..72105dda72fe 100644 --- a/games-arcade/netris/netris-0.52.ebuild +++ b/games-arcade/netris/netris-0.52.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/netris/netris-0.52.ebuild,v 1.6 2004/06/24 22:09:13 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/netris/netris-0.52.ebuild,v 1.7 2005/01/06 22:26:21 sekretarz Exp $ inherit eutils games @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc" +KEYWORDS="x86 ppc ~amd64" IUSE="" DEPEND="sys-libs/ncurses" @@ -19,6 +19,9 @@ DEPEND="sys-libs/ncurses" src_unpack() { unpack ${A} epatch netris_${PV}-1.diff + + # Fixes segv on amd64 + epatch ${FILESDIR}/${PN}-time.patch } src_compile() { |