Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/files/, games-puzzle/braincurses/
Date: Wed, 23 Jun 2021 02:24:54
Message-Id: 1624414956.f22e1df86e616bdccabf8f68a3384166ffef3c3a.ionen@gentoo
1 commit: f22e1df86e616bdccabf8f68a3384166ffef3c3a
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 23 00:18:58 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 23 02:22:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22e1df8
7
8 games-puzzle/braincurses: drop 0.5b-r1
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-puzzle/braincurses/Manifest | 1 -
13 .../braincurses/braincurses-0.5b-r1.ebuild | 34 ----------------------
14 .../files/braincurses-0.5b-as-needed.patch | 27 -----------------
15 .../braincurses/files/braincurses-0.5b-gcc43.patch | 10 -------
16 4 files changed, 72 deletions(-)
17
18 diff --git a/games-puzzle/braincurses/Manifest b/games-puzzle/braincurses/Manifest
19 index 2e86dc43c6b..4f6f15740e7 100644
20 --- a/games-puzzle/braincurses/Manifest
21 +++ b/games-puzzle/braincurses/Manifest
22 @@ -1,2 +1 @@
23 -DIST braincurses-0.5b.tar.gz 18487 BLAKE2B 4d3874eb6625781e866ba2250da45ff165d662abaeabda2c4525bb300479b33e1efb91f997165310b7a4edc61f81ac841b00b940d319ef0c18b8684dd5355d60 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e
24 DIST braincurses-1.1.0.tar.gz 12996 BLAKE2B 3f0c5edabd65175e581280413f7fea841d4d4b7ff9f4b39c4c3a0084e0e4c0a159605fe9ed320769a9bc85d671845af115456df33305e20f1eef6c53626c01a4 SHA512 7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd
25
26 diff --git a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild
27 deleted file mode 100644
28 index 37bd4eef30f..00000000000
29 --- a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild
30 +++ /dev/null
31 @@ -1,34 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -DESCRIPTION="An ncurses-based mastermind clone"
38 -HOMEPAGE="https://github.com/bderrly/braincurses"
39 -SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc64 ~x86"
44 -IUSE=""
45 -
46 -DEPEND=""
47 -RDEPEND=""
48 -
49 -src_prepare() {
50 - default
51 -
52 - eapply "${FILESDIR}"/${P}-gcc43.patch \
53 - "${FILESDIR}"/${P}-as-needed.patch
54 -
55 - # fix buffer overflow (bug #301033)
56 - sed -i \
57 - -e 's/guessLabel\[2/guessLabel[3/' \
58 - curses/windows.cpp \
59 - || die 'sed failed'
60 -}
61 -
62 -src_install() {
63 - dobin braincurses
64 - einstalldocs
65 -}
66
67 diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch
68 deleted file mode 100644
69 index 2101602c637..00000000000
70 --- a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch
71 +++ /dev/null
72 @@ -1,27 +0,0 @@
73 ---- a/Makefile.old 2009-02-09 16:04:47.000000000 +0100
74 -+++ b/Makefile 2009-02-09 16:14:41.000000000 +0100
75 -@@ -1,22 +1,9 @@
76 - # Makefile for braincurses game
77 - # written by Brian Derr
78 -
79 --CC=g++
80 --CFLAGS=-Wall
81 --CURSES_LIBS=-lncurses
82 -+LDLIBS=-lncurses
83 -
84 --ncurses: curses/windows.o braincurses.o
85 -- ${CC} ${CURSES_LIBS} ${CFLAGS} -o braincurses curses/windows.o \
86 -- braincurses.o
87 --
88 --windows.o: windows.cpp
89 -- ${CC} ${CFLAGS} -c curses/windows.cpp
90 --
91 --braincurses.o: braincurses.cpp
92 -- ${CC} ${CFLAGS} -c braincurses.cpp
93 --
94 --#top_scores.o: top_scores.cpp
95 --# ${CC} ${CFLAGS} -c top_scores.cpp
96 -+braincurses: curses/windows.cpp braincurses.cpp
97 -
98 - install:
99 - install -o root -g root braincurses /usr/local/bin/
100
101 diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch
102 deleted file mode 100644
103 index 6fa5509a778..00000000000
104 --- a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch
105 +++ /dev/null
106 @@ -1,10 +0,0 @@
107 ---- a/braincurses.h
108 -+++ b/braincurses.h
109 -@@ -12,6 +12,7 @@
110 - #include <cstddef>
111 - #include <cstdlib>
112 - #include <ctime>
113 -+#include <cstring>
114 - #include <iostream>
115 - #include <map>
116 - #include <string>