public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/
@ 2015-10-01 18:52 Michael Sterrett
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Sterrett @ 2015-10-01 18:52 UTC (permalink / raw
  To: gentoo-commits

commit:     5304a68725b2e96c53f4150ecc37e19bf6b040be
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  1 18:51:46 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Thu Oct  1 18:52:07 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5304a687

actually apply Debian patches (bug #561928)

Package-Manager: portage-2.2.20.1

 games-arcade/netris/Manifest              |  1 +
 games-arcade/netris/netris-0.52-r1.ebuild | 58 +++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/games-arcade/netris/Manifest b/games-arcade/netris/Manifest
index 3400d8f..7cdf296 100644
--- a/games-arcade/netris/Manifest
+++ b/games-arcade/netris/Manifest
@@ -1,2 +1,3 @@
 DIST netris-0.52.tar.gz 33135 SHA256 8bc770ebb2c3ead1611ca7a1a2f3d833e169536c78d53b3fcf49381164ee9706 SHA512 842ad8602394dee929c3c4ba222f9f5ffe628e52348c3faf7c9098bbd5b0b0279fffc7927320f8ee8a5102537c995a8ed605d851f1cd32e4bd8976a7889c84e1 WHIRLPOOL 7bf0356b85107ec871c15afa9e680596e890e22cfb6ba9e72b4487af84c01b5aa4519a0d218c8736f80edaa8ba0c488d49aca07dd67c75dad91054de3a7ea7aa
 DIST netris_0.52-7.diff.gz 11586 SHA256 6b4d157768d075d9fedb9318f2583add253af994bab8ed6fe25b65b5086c8cc5 SHA512 2d2fe28dbf886107fa27f631e30534aab8afe027b5a41da3761ff39a16d65d7cf6ff5bf409708d55740638df75e334b5fb1ae4c5304616731fb6498d2cc00ca9 WHIRLPOOL ff1ff01f25b12f809f72682e48f539dd55df8e370151effe1222898b12239abf972e97ff1e8cc768beedf3c085b96e6c3540a309f08205245811ae1b52b51ac2
+DIST netris_0.52-9.diff.gz 14482 SHA256 7364a74dabf43e834a2dc76352191b8794094c1f5f4ab02c64950af61a40261b SHA512 4bed230091ddecf5a0dc043981ec9b0a177bee01262715b9cb9a2af0adefe2db52555416b795a70dd496e6fb0b132586bc7f32d2a480f1cfd6c4d40304076109 WHIRLPOOL 26d51d8cb7b2bbe2b7d754ad707023b796ad4f79d97c0af742b3514dde2f8bf14e165211b23d92aa8665cba324ce85d2272b966123ba56e2d83bd1f31bf40215

diff --git a/games-arcade/netris/netris-0.52-r1.ebuild b/games-arcade/netris/netris-0.52-r1.ebuild
new file mode 100644
index 0000000..dcc26a4
--- /dev/null
+++ b/games-arcade/netris/netris-0.52-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DEB_VER=9
+DESCRIPTION='Classic networked version of T*tris'
+HOMEPAGE='http://www.netris.org/'
+SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz
+	mirror://debian/pool/main/n/netris/netris_${PV}-${DEB_VER}.diff.gz"
+
+LICENSE='GPL-2'
+SLOT=0
+KEYWORDS='~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd'
+IUSE=''
+
+DEPEND='sys-libs/ncurses:0='
+RDEPEND=${DEPEND}
+
+src_prepare() {
+	epatch "${WORKDIR}"/netris_${PV}-${DEB_VER}.diff
+	epatch netris-0.52/debian/patches/[01]*
+	# bug #185332
+	sed -i \
+		-e '/sys\/time/ i\
+#include <sys/types.h> \
+#include <time.h>
+' \
+		-e '/netint2/ s/short/int16_t/' \
+		-e '/netint4/ s/long/int32_t/' \
+		netris.h || die
+	sed -i \
+		-e 's/volatile //g' \
+		-e '/Be more forgiving/d' \
+		-e 's/static myRandSeed/static int myRandSeed/' \
+		util.c || die
+	sed -i \
+		-e 's/\(long pauseTimeLeft\)/\1 = 0/' \
+		game.c || die
+	sed -i \
+		-e '/^CC/d' \
+		-e '/^COPT/d' \
+		-e '/^CFLAGS/d' \
+		-e 's/(LFLAGS)/(LDFLAGS) $(LFLAGS)/' \
+		Configure || die
+}
+
+src_configure() {
+	bash ./Configure -O || die
+}
+
+src_install() {
+	dogamesbin netris sr
+	dodoc FAQ README robot_desc
+	prepgamesdirs
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/
@ 2015-11-03 15:19 Agostino Sarubbo
  0 siblings, 0 replies; 5+ messages in thread
From: Agostino Sarubbo @ 2015-11-03 15:19 UTC (permalink / raw
  To: gentoo-commits

commit:     be9124a43c5f6aa496bf0d972be434bdb25a9b78
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  3 15:18:33 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Nov  3 15:18:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9124a4

games-arcade/netris: amd64 stable wrt bug #564658

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 games-arcade/netris/netris-0.52-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/netris/netris-0.52-r1.ebuild b/games-arcade/netris/netris-0.52-r1.ebuild
index dcc26a4..b71edfb 100644
--- a/games-arcade/netris/netris-0.52-r1.ebuild
+++ b/games-arcade/netris/netris-0.52-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz
 
 LICENSE='GPL-2'
 SLOT=0
-KEYWORDS='~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd'
+KEYWORDS='amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd'
 IUSE=''
 
 DEPEND='sys-libs/ncurses:0='


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/
@ 2015-11-04 15:17 Agostino Sarubbo
  0 siblings, 0 replies; 5+ messages in thread
From: Agostino Sarubbo @ 2015-11-04 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     769786d0b54df5f8cb038734a54c93dc4747f30d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  4 15:16:56 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov  4 15:16:56 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=769786d0

games-arcade/netris: ppc stable wrt bug #564658

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 games-arcade/netris/netris-0.52-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/netris/netris-0.52-r1.ebuild b/games-arcade/netris/netris-0.52-r1.ebuild
index c9d9377..02a8197 100644
--- a/games-arcade/netris/netris-0.52-r1.ebuild
+++ b/games-arcade/netris/netris-0.52-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz
 
 LICENSE='GPL-2'
 SLOT=0
-KEYWORDS='amd64 ~mips ~ppc ~sparc x86 ~x86-fbsd'
+KEYWORDS='amd64 ~mips ppc ~sparc x86 ~x86-fbsd'
 IUSE=''
 
 DEPEND='sys-libs/ncurses:0='


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/
@ 2019-07-30  7:26 Stefan Strogin
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Strogin @ 2019-07-30  7:26 UTC (permalink / raw
  To: gentoo-commits

commit:     db0fb37f3027f4e1951f8c675c5b78b56880ea44
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 07:20:36 2019 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 07:26:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db0fb37f

games-arcade/netris: rename binary to resolve collision

Closes: https://bugs.gentoo.org/656176
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 games-arcade/netris/netris-0.52-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-arcade/netris/netris-0.52-r3.ebuild b/games-arcade/netris/netris-0.52-r3.ebuild
index e4533111a8b..e6040492024 100644
--- a/games-arcade/netris/netris-0.52-r3.ebuild
+++ b/games-arcade/netris/netris-0.52-r3.ebuild
@@ -57,6 +57,7 @@ src_configure() {
 }
 
 src_install() {
-	dobin netris sr
+	dobin netris
+	newbin sr netris-sample-robot
 	dodoc FAQ README robot_desc
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/
@ 2022-10-21 12:48 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2022-10-21 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     0824ccfcdf999b54c0ff3653bc894d82798195ae
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 11:15:31 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 12:47:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0824ccfc

games-arcade/netris: drop c2x workaround

Changed the way test for this, and upon closer look
this one wasn't needed.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/netris/netris-0.52-r4.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-arcade/netris/netris-0.52-r4.ebuild b/games-arcade/netris/netris-0.52-r4.ebuild
index 6f5c8b733523..28d1f6e2d747 100644
--- a/games-arcade/netris/netris-0.52-r4.ebuild
+++ b/games-arcade/netris/netris-0.52-r4.ebuild
@@ -54,7 +54,6 @@ src_prepare() {
 }
 
 src_configure() {
-	append-cflags -std=gnu89 # old codebase, incompatible with c2x
 	append-cppflags -D_DEFAULT_SOURCE #874021, for on_exit()
 	append-cflags ${CPPFLAGS}
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-21 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 12:48 [gentoo-commits] repo/gentoo:master commit in: games-arcade/netris/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2019-07-30  7:26 Stefan Strogin
2015-11-04 15:17 Agostino Sarubbo
2015-11-03 15:19 Agostino Sarubbo
2015-10-01 18:52 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox