public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-editors/ee/, app-editors/ee/files/
@ 2017-12-09 13:17 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2017-12-09 13:17 UTC (permalink / raw
  To: gentoo-commits

commit:     90eabcfdd4a2a67ba010ac25df66607c218bfa13
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  9 13:14:35 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Dec  9 13:16:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90eabcfd

app-editors/ee: fix build with >=sys-libs/glibc-2.26

Closes: https://bugs.gentoo.org/638502
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-editors/ee/ee-1.5.2.ebuild       |  1 +
 app-editors/ee/files/ee-signal.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/app-editors/ee/ee-1.5.2.ebuild b/app-editors/ee/ee-1.5.2.ebuild
index 0d343a67d9e..fc1aec479af 100644
--- a/app-editors/ee/ee-1.5.2.ebuild
+++ b/app-editors/ee/ee-1.5.2.ebuild
@@ -20,6 +20,7 @@ S="${WORKDIR}/easyedit-${PV}"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-init-location.patch
+	"${FILESDIR}"/${PN}-signal.patch
 	"${FILESDIR}"/${PN}-Wformat-security.patch
 )
 DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg )

diff --git a/app-editors/ee/files/ee-signal.patch b/app-editors/ee/files/ee-signal.patch
new file mode 100644
index 00000000000..41cfa401306
--- /dev/null
+++ b/app-editors/ee/files/ee-signal.patch
@@ -0,0 +1,11 @@
+--- a/ee.c
++++ b/ee.c
+@@ -552,7 +552,7 @@
+ {
+ 	int counter;
+ 
+-	for (counter = 1; counter < SIGUNUSED; counter++)
++	for (counter = 1; counter < SIGSYS; counter++)
+ 		signal(counter, SIG_IGN);
+ 
+ 	signal(SIGCHLD, SIG_DFL);


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-editors/ee/, app-editors/ee/files/
@ 2020-05-10  9:32 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2020-05-10  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     9c387393179ef14f6ebde703dad08ed7706384b0
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 09:31:10 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun May 10 09:32:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c387393

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 <AT> gentoo.org>

 app-editors/ee/ee-1.5.2.ebuild       |  1 +
 app-editors/ee/files/ee-gcc-10.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/app-editors/ee/ee-1.5.2.ebuild b/app-editors/ee/ee-1.5.2.ebuild
index 832cb1b3e8f..ad4bb78c853 100644
--- a/app-editors/ee/ee-1.5.2.ebuild
+++ b/app-editors/ee/ee-1.5.2.ebuild
@@ -22,6 +22,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-init-location.patch
 	"${FILESDIR}"/${PN}-signal.patch
 	"${FILESDIR}"/${PN}-Wformat-security.patch
+	"${FILESDIR}"/${PN}-gcc-10.patch
 )
 DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg )
 

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 00000000000..2577d76f25f
--- /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		*/


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-10  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-09 13:17 [gentoo-commits] repo/gentoo:master commit in: app-editors/ee/, app-editors/ee/files/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2020-05-10  9:32 Akinori Hattori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox