From 4e70b61a62aa8a830ba519211bd7eb33fd2c8473 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 26 Jan 2020 11:56:59 +0000 Subject: net-misc/shigofumi: tweak for gcc-10, bug #706428 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch | 11 +++++++++++ net-misc/shigofumi/shigofumi-0.3-r1.ebuild | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch (limited to 'net-misc/shigofumi') diff --git a/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch b/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch new file mode 100644 index 000000000000..52688ff1d194 --- /dev/null +++ b/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch @@ -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; diff --git a/net-misc/shigofumi/shigofumi-0.3-r1.ebuild b/net-misc/shigofumi/shigofumi-0.3-r1.ebuild index 8667bb035c0c..a5dcea0425c7 100644 --- a/net-misc/shigofumi/shigofumi-0.3-r1.ebuild +++ b/net-misc/shigofumi/shigofumi-0.3-r1.ebuild @@ -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 -- cgit v1.2.3-65-gdbad