MFH: r376495

- Fix segfault at startup by hardcoding "--no-stack-rlimit" in lib/base/application.cpp
- Bump PORTREVISION

Noticed by:	ohauer
Approved by:	portmgr (bapt)
This commit is contained in:
Lars Engels 2015-01-07 20:35:38 +00:00
parent 9522d547f2
commit ec5da35273
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2015Q1/; revision=376500
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= icinga2
DISTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://github.com/Icinga/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/

View File

@ -0,0 +1,14 @@
--- lib/base/application.cpp.orig 2015-01-07 20:24:52.914349279 +0100
+++ lib/base/application.cpp 2015-01-07 20:28:25.822333330 +0100
@@ -216,10 +216,7 @@
rl.rlim_max = RLIM_INFINITY;
}
- if (set_stack_rlimit)
- rl.rlim_cur = 256 * 1024;
- else
- rl.rlim_cur = rl.rlim_max;
+ rl.rlim_cur = rl.rlim_max;
if (setrlimit(RLIMIT_STACK, &rl) < 0)
Log(LogNotice, "Application", "Could not adjust resource limit for stack size (RLIMIT_STACK)");