mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
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:
11
net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch
Normal file
11
net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch
Normal 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;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user