summaryrefslogtreecommitdiff
path: root/games-puzzle
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/Manifest.gzbin17130 -> 17131 bytes
-rw-r--r--games-puzzle/tetrinet/Manifest3
-rw-r--r--games-puzzle/tetrinet/files/tetrinet-0.11-fnocommon.patch11
-rw-r--r--games-puzzle/tetrinet/tetrinet-0.11-r2.ebuild (renamed from games-puzzle/tetrinet/tetrinet-0.11-r1.ebuild)23
4 files changed, 26 insertions, 11 deletions
diff --git a/games-puzzle/Manifest.gz b/games-puzzle/Manifest.gz
index 5c27c16119a4..a16964f35124 100644
--- a/games-puzzle/Manifest.gz
+++ b/games-puzzle/Manifest.gz
Binary files differ
diff --git a/games-puzzle/tetrinet/Manifest b/games-puzzle/tetrinet/Manifest
index b9f3f7c6f804..eae72f1bda25 100644
--- a/games-puzzle/tetrinet/Manifest
+++ b/games-puzzle/tetrinet/Manifest
@@ -1,5 +1,6 @@
AUX tetrinet-0.11-build.patch 2331 BLAKE2B a23200aff602acaf0dd6c1341a8c63b3b4d16b417478034dc46db4d90081c2910a8026d5b419e18432309ded69de64e16bcdaf4d2301767dcb1a857367eb8207 SHA512 e56a43ef53d9df84c4ba49b39ba2d77f99de1b616f9e81e105d4c49553b909f418f74cb13d431dbd658c41c99388321e0806dbeb63294817ec85f7148f2d2ae0
+AUX tetrinet-0.11-fnocommon.patch 319 BLAKE2B 26cbb301ee17bc8994f4d36f91eda5687f1a5ac146fb816734a6ae01a6ebe5b8495c899d8bfce2592d6f0c6d28a0de2ea18acab6f41aae6b073822bf7258b2aa SHA512 61ad78c5a24b6fa11f2bfe680ce5e43217a2cc9028e92dbe435c6bad9b0f84c27f0deff9db7ef09dbb9040feca2f5a2a16b0354913d72005188047d01ca403eb
AUX tetrinet-0.11-no-ipv6.patch 185 BLAKE2B 47b66d15eaf30d233a60f0c877fd03b66ad6007630c4a45c1c208cb21582add109ccfc3ca77d741214dbb5d00a4719a55556ab404420d5383e098e748f6c055b SHA512 1851623b20e2685548650d54f290a49f9572b65a2293848c0d83a6fdc1c1256ebcdd0f737b2f32f7fb4bd921aa69c17e7120cfc8acb1d8c5a97342741964890f
DIST tetrinet-0.11.tar.bz2 38607 BLAKE2B f794660b037d2605990b775a00381279eea64a361e4b66dcb9314a3f784ce77a0cfc87cea52d183fb5553f05f95b466318b6a1e98dbd735f34618964d2d901d2 SHA512 8123a8c50a3c1b6326d3209272a60c8050afd2a9eb455814fd676d8c4de922f8b81a88df9e4825d1ff5e0c8b8a7ac46ebe9ce68994587f829e047a3d889880fa
-EBUILD tetrinet-0.11-r1.ebuild 698 BLAKE2B bb5f84fad0c3940b313221d36e2079c53037ae1f57ee48eb34629fe785b9329fecb32f548cf9f097b67f4b7ee5cccc7f0dba9770740c8007652a59d6adb63a95 SHA512 c61e799893a744e1a5c14ecb2d2e8445681f632c2ee618878ed929416fb0254e8c735b26203740ed26e9ae26d8c3e76256b2187aa09ca641ebe63ecd2e626963
+EBUILD tetrinet-0.11-r2.ebuild 738 BLAKE2B cb4042032d84a75a20459688a53ec75938615ffe25a8ffc5282a958edafe44967a8ceb8876ad30e549a0bb1a8a0060c2da4e499d20e4a01a215836c4b9394def SHA512 51318376317c3a9199acb1dea2bc9ef2b474e2fc59e15172f017c2ccf0af518b485f0363b5e7a8153a49bf2c2c49327145f16a8a52137e64fdf7c5adfe4ad99e
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/tetrinet/files/tetrinet-0.11-fnocommon.patch b/games-puzzle/tetrinet/files/tetrinet-0.11-fnocommon.patch
new file mode 100644
index 000000000000..e64fe5c62d06
--- /dev/null
+++ b/games-puzzle/tetrinet/files/tetrinet-0.11-fnocommon.patch
@@ -0,0 +1,11 @@
+--- a/tetris.h 2003-09-07 16:29:29.000000000 -0000
++++ b/tetris.h 2020-09-12 21:13:50.978870902 -0000
+@@ -50,7 +50,7 @@ typedef struct {
+ char shape[4][4]; /* Shape data for the piece */
+ } PieceData;
+
+-PieceData piecedata[7][4];
++extern PieceData piecedata[7][4];
+
+ extern int current_piece, current_rotation;
+
diff --git a/games-puzzle/tetrinet/tetrinet-0.11-r1.ebuild b/games-puzzle/tetrinet/tetrinet-0.11-r2.ebuild
index 013dcef24a21..424e841be087 100644
--- a/games-puzzle/tetrinet/tetrinet-0.11-r1.ebuild
+++ b/games-puzzle/tetrinet/tetrinet-0.11-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Console based tetrinet inc. standalone server"
@@ -13,19 +14,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ipv6"
-RDEPEND=">=sys-libs/ncurses-5:0="
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-ipv6.patch
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-fnocommon.patch
+)
src_prepare() {
default
- eapply \
- "${FILESDIR}"/${P}-no-ipv6.patch \
- "${FILESDIR}"/${P}-build.patch
use ipv6 && append-cflags -DHAVE_IPV6
- tc-export PKG_CONFIG
+ tc-export CC PKG_CONFIG
}
src_install() {