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
This commit is contained in:
Akinori Hattori
2017-12-09 22:16:22 +09:00
parent c876c6e49a
commit 90eabcfdd4
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -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 )
+11
View File
@@ -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);