summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-05-10 18:31:10 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-05-10 18:32:00 +0900
commit9c387393179ef14f6ebde703dad08ed7706384b0 (patch)
tree3780c0f97613704c675a213ae9df97dbbafbbcc6 /app-editors/ee/files
parentapp-editors/ee: update to EAPI 7 (diff)
downloadgentoo-9c387393179ef14f6ebde703dad08ed7706384b0.tar.gz
gentoo-9c387393179ef14f6ebde703dad08ed7706384b0.tar.bz2
gentoo-9c387393179ef14f6ebde703dad08ed7706384b0.zip
app-editors/ee: fix build with >=sys-devel/gcc-10
Closes: https://bugs.gentoo.org/706538 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-editors/ee/files')
-rw-r--r--app-editors/ee/files/ee-gcc-10.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-editors/ee/files/ee-gcc-10.patch b/app-editors/ee/files/ee-gcc-10.patch
new file mode 100644
index 000000000000..2577d76f25f6
--- /dev/null
+++ b/app-editors/ee/files/ee-gcc-10.patch
@@ -0,0 +1,22 @@
+--- a/new_curse.c
++++ b/new_curse.c
+@@ -83,6 +83,8 @@
+ #endif
+
+
++struct _line *top_of_win;
++
+ WINDOW *curscr;
+ static WINDOW *virtual_scr;
+ WINDOW *stdscr;
+--- a/new_curse.h
++++ b/new_curse.h
+@@ -161,7 +161,7 @@
+ int number;
+ };
+
+-struct _line *top_of_win;
++extern struct _line *top_of_win;
+
+ typedef struct WIND {
+ int SR; /* starting row */