1 |
commit: 4e70b61a62aa8a830ba519211bd7eb33fd2c8473 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 26 11:56:59 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 26 11:57:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e70b61a |
7 |
|
8 |
net-misc/shigofumi: tweak for gcc-10, bug #706428 |
9 |
|
10 |
Reported-by: Toralf Förster |
11 |
Closes: https://bugs.gentoo.org/706428 |
12 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch | 11 +++++++++++ |
16 |
net-misc/shigofumi/shigofumi-0.3-r1.ebuild | 6 +++++- |
17 |
2 files changed, 16 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch b/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..52688ff1d19 |
22 |
--- /dev/null |
23 |
+++ b/net-misc/shigofumi/files/shigofumi-0.3-gcc-10.patch |
24 |
@@ -0,0 +1,11 @@ |
25 |
+--- a/src/shigofumi.h |
26 |
++++ b/src/shigofumi.h |
27 |
+@@ -16,7 +16,7 @@ |
28 |
+ extern shi_state state;*/ |
29 |
+ |
30 |
+ /* UI */ |
31 |
+-FILE *output; |
32 |
++extern FILE *output; |
33 |
+ |
34 |
+ /* Data */ |
35 |
+ extern struct isds_list *boxes; |
36 |
|
37 |
diff --git a/net-misc/shigofumi/shigofumi-0.3-r1.ebuild b/net-misc/shigofumi/shigofumi-0.3-r1.ebuild |
38 |
index 8667bb035c0..a5dcea0425c 100644 |
39 |
--- a/net-misc/shigofumi/shigofumi-0.3-r1.ebuild |
40 |
+++ b/net-misc/shigofumi/shigofumi-0.3-r1.ebuild |
41 |
@@ -1,4 +1,4 @@ |
42 |
-# Copyright 1999-2019 Gentoo Authors |
43 |
+# Copyright 1999-2020 Gentoo Authors |
44 |
# Distributed under the terms of the GNU General Public License v2 |
45 |
|
46 |
EAPI=6 |
47 |
@@ -36,6 +36,10 @@ DEPEND="${RDEPEND} |
48 |
nls? ( sys-devel/gettext ) |
49 |
" |
50 |
|
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-gcc-10.patch |
53 |
+) |
54 |
+ |
55 |
src_prepare() { |
56 |
default |
57 |
[[ ${PV} = 9999* ]] && eautoreconf |