1 |
commit: 4eaf9db562dc96352ae999ffef3d8c6aa6a3222f |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 09:38:53 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 09:42:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eaf9db5 |
7 |
|
8 |
app-editors/aee: fix build with >=sys-devel/gcc-10 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/708720 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
app-editors/aee/aee-2.2.15b.ebuild | 1 + |
15 |
app-editors/aee/aee-2.2.21.ebuild | 1 + |
16 |
app-editors/aee/files/aee-gcc-10.patch | 44 ++++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 46 insertions(+) |
18 |
|
19 |
diff --git a/app-editors/aee/aee-2.2.15b.ebuild b/app-editors/aee/aee-2.2.15b.ebuild |
20 |
index 9c78a5318b8..56d77568f79 100644 |
21 |
--- a/app-editors/aee/aee-2.2.15b.ebuild |
22 |
+++ b/app-editors/aee/aee-2.2.15b.ebuild |
23 |
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}" |
24 |
PATCHES=( |
25 |
"${FILESDIR}"/${P}-ae-location.patch |
26 |
"${FILESDIR}"/${PN}-Wformat-security.patch |
27 |
+ "${FILESDIR}"/${PN}-gcc-10.patch |
28 |
) |
29 |
DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg ) |
30 |
|
31 |
|
32 |
diff --git a/app-editors/aee/aee-2.2.21.ebuild b/app-editors/aee/aee-2.2.21.ebuild |
33 |
index b6b2341baaf..c6c40f9b214 100644 |
34 |
--- a/app-editors/aee/aee-2.2.21.ebuild |
35 |
+++ b/app-editors/aee/aee-2.2.21.ebuild |
36 |
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}" |
37 |
PATCHES=( |
38 |
"${FILESDIR}"/${PN}-ae-location.patch |
39 |
"${FILESDIR}"/${PN}-Wformat-security.patch |
40 |
+ "${FILESDIR}"/${PN}-gcc-10.patch |
41 |
) |
42 |
DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg ) |
43 |
|
44 |
|
45 |
diff --git a/app-editors/aee/files/aee-gcc-10.patch b/app-editors/aee/files/aee-gcc-10.patch |
46 |
new file mode 100644 |
47 |
index 00000000000..c8747099e58 |
48 |
--- /dev/null |
49 |
+++ b/app-editors/aee/files/aee-gcc-10.patch |
50 |
@@ -0,0 +1,44 @@ |
51 |
+--- a/Xcurse.c |
52 |
++++ b/Xcurse.c |
53 |
+@@ -37,6 +37,8 @@ |
54 |
+ |
55 |
+ extern int eightbit; |
56 |
+ |
57 |
++struct _line *top_of_win; |
58 |
++ |
59 |
+ static WINDOW *virtual_scr; |
60 |
+ WINDOW *curscr; |
61 |
+ WINDOW *stdscr; |
62 |
+--- a/Xcurse.h |
63 |
++++ b/Xcurse.h |
64 |
+@@ -132,7 +132,7 @@ |
65 |
+ int number; |
66 |
+ }; |
67 |
+ |
68 |
+-struct _line *top_of_win; |
69 |
++extern struct _line *top_of_win; |
70 |
+ |
71 |
+ typedef struct WIND { |
72 |
+ int SR; /* starting row */ |
73 |
+--- a/new_curse.c |
74 |
++++ b/new_curse.c |
75 |
+@@ -85,6 +85,8 @@ |
76 |
+ #endif |
77 |
+ |
78 |
+ |
79 |
++struct _line *top_of_win; |
80 |
++ |
81 |
+ WINDOW *curscr; |
82 |
+ static WINDOW *virtual_scr; |
83 |
+ WINDOW *stdscr; |
84 |
+--- a/new_curse.h |
85 |
++++ b/new_curse.h |
86 |
+@@ -161,7 +161,7 @@ |
87 |
+ int number; |
88 |
+ }; |
89 |
+ |
90 |
+-struct _line *top_of_win; |
91 |
++extern struct _line *top_of_win; |
92 |
+ |
93 |
+ typedef struct WIND { |
94 |
+ int SR; /* starting row */ |