net-misc/shigofumi: tweak for gcc-10, bug #706428

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/706428
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-01-26 11:56:59 +00:00
parent 63a6ef31f0
commit 4e70b61a62
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/src/shigofumi.h
+++ b/src/shigofumi.h
@@ -16,7 +16,7 @@
extern shi_state state;*/
/* UI */
-FILE *output;
+extern FILE *output;
/* Data */
extern struct isds_list *boxes;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -36,6 +36,10 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
"
PATCHES=(
"${FILESDIR}"/${P}-gcc-10.patch
)
src_prepare() {
default
[[ ${PV} = 9999* ]] && eautoreconf