From cd66fda28d95013e9d8b2927ddf395bfa95a699f Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 23 Aug 2016 14:36:01 +0000 Subject: Revert the update to 4.2. It currently exits with a bus error, which is, not good. Reported by: many Sponsored by: Absolight --- net-mgmt/nagios4/files/patch-lib_nsock.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-mgmt/nagios4/files/patch-lib_nsock.c (limited to 'net-mgmt/nagios4/files/patch-lib_nsock.c') diff --git a/net-mgmt/nagios4/files/patch-lib_nsock.c b/net-mgmt/nagios4/files/patch-lib_nsock.c new file mode 100644 index 000000000000..24d0532373c7 --- /dev/null +++ b/net-mgmt/nagios4/files/patch-lib_nsock.c @@ -0,0 +1,11 @@ +--- lib/nsock.c.orig 2014-08-12 15:00:01 UTC ++++ lib/nsock.c +@@ -81,7 +81,7 @@ int nsock_unix(const char *path, unsigne + if(flags & NSOCK_UDP) + return sock; + +- if(listen(sock, 3) < 0) { ++ if(listen(sock, 48) < 0) { + close(sock); + return NSOCK_ELISTEN; + } -- cgit v1.2.3