games-puzzle/freesweep: drop 1.0.1

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2021-12-16 10:43:44 -05:00
parent f33e4d0399
commit 3e8f2c0b1f
3 changed files with 0 additions and 71 deletions

View File

@@ -1,2 +1 @@
DIST freesweep-1.0.1.tar.gz 93966 BLAKE2B 8eab63930e41067e2e5626a4504bef00db58bfde54a43c4512bed2e8ae186d165b5b15acf8c1074a8b02e1d63876fb4e36b8c78f181c7d86d055976a15b8ec83 SHA512 8270c77940225c8ebf0912ac896eaaaabd81775a82877650f3b9c2e0cf3b6a296b73f02ebc26e8fe526fc56f3807d9a2809f46e44b3d8507f011f9cf2c794099
DIST freesweep-1.0.2.tar.gz 93986 BLAKE2B 306c0e87448534c23c7754f9bedbaf9d72ee705bfdb3cc08a004076bd56a117f4bbb19f4676282edccc57286b5135d6714d6ad2e94a903235c8f4bb9a305ad77 SHA512 1695bb29efbaed5e6baf5faadcbd685e8e6b4ccb5d52567a833b5f5eeb69200fc220579fea7d6907bffc92a06e9b220bca494e8597394820a421f81f0af1d3aa

View File

@@ -1,39 +0,0 @@
From a86245df4f3ff276a393f799d737d28a5cb0a5a8 Mon Sep 17 00:00:00 2001
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Thu, 23 Apr 2020 00:46:58 +0200
Subject: [PATCH] Fix build with GCC 10
mark variable declaration in sweep.h as extern, as otherwise
linker would complain about multiple definitions.
keep actual declaration in a C file.
---
main.c | 2 ++
sweep.h.in | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c
index 6411dcb..8d5cbe7 100644
--- a/main.c
+++ b/main.c
@@ -10,6 +10,8 @@
#include "sweep.h"
+DrawChars CharSet;
+
int main(int argc, char** argv)
{
GameStats* Game;
diff --git a/sweep.h.in b/sweep.h.in
index f30c133..7f398de 100644
--- a/sweep.h.in
+++ b/sweep.h.in
@@ -246,7 +246,7 @@ struct FileBuf
FILE* DebugLog;
#endif /* DEBUG_LOG */
-DrawChars CharSet;
+extern DrawChars CharSet;
/* These are the functions defined in files.c */
int SourceHomeFile(GameStats* Game);

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Console Minesweeper"
HOMEPAGE="https://github.com/rwestlund/freesweep"
SRC_URI="https://github.com/rwestlund/freesweep/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-macos"
RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${P}-gcc10.patch"
)
src_compile() {
emake LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses)"
}
src_install() {
dobin freesweep
einstalldocs
doman freesweep.6
}