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);

Reply via email to