games-puzzle/braincurses: drop 0.5b-r1

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-06-22 22:22:36 -04:00
parent 6c42beb1ae
commit f22e1df86e
4 changed files with 0 additions and 72 deletions
-1
View File
@@ -1,2 +1 @@
DIST braincurses-0.5b.tar.gz 18487 BLAKE2B 4d3874eb6625781e866ba2250da45ff165d662abaeabda2c4525bb300479b33e1efb91f997165310b7a4edc61f81ac841b00b940d319ef0c18b8684dd5355d60 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e
DIST braincurses-1.1.0.tar.gz 12996 BLAKE2B 3f0c5edabd65175e581280413f7fea841d4d4b7ff9f4b39c4c3a0084e0e4c0a159605fe9ed320769a9bc85d671845af115456df33305e20f1eef6c53626c01a4 SHA512 7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd
@@ -1,34 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="An ncurses-based mastermind clone"
HOMEPAGE="https://github.com/bderrly/braincurses"
SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_prepare() {
default
eapply "${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-as-needed.patch
# fix buffer overflow (bug #301033)
sed -i \
-e 's/guessLabel\[2/guessLabel[3/' \
curses/windows.cpp \
|| die 'sed failed'
}
src_install() {
dobin braincurses
einstalldocs
}
@@ -1,27 +0,0 @@
--- a/Makefile.old 2009-02-09 16:04:47.000000000 +0100
+++ b/Makefile 2009-02-09 16:14:41.000000000 +0100
@@ -1,22 +1,9 @@
# Makefile for braincurses game
# written by Brian Derr
-CC=g++
-CFLAGS=-Wall
-CURSES_LIBS=-lncurses
+LDLIBS=-lncurses
-ncurses: curses/windows.o braincurses.o
- ${CC} ${CURSES_LIBS} ${CFLAGS} -o braincurses curses/windows.o \
- braincurses.o
-
-windows.o: windows.cpp
- ${CC} ${CFLAGS} -c curses/windows.cpp
-
-braincurses.o: braincurses.cpp
- ${CC} ${CFLAGS} -c braincurses.cpp
-
-#top_scores.o: top_scores.cpp
-# ${CC} ${CFLAGS} -c top_scores.cpp
+braincurses: curses/windows.cpp braincurses.cpp
install:
install -o root -g root braincurses /usr/local/bin/
@@ -1,10 +0,0 @@
--- a/braincurses.h
+++ b/braincurses.h
@@ -12,6 +12,7 @@
#include <cstddef>
#include <cstdlib>
#include <ctime>
+#include <cstring>
#include <iostream>
#include <map>
#include <string>