summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-lib_nsock.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-08-23 14:36:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-08-23 14:36:01 +0000
commitcd66fda28d95013e9d8b2927ddf395bfa95a699f (patch)
tree445cbb7694891141c82034d9af72f38b6708d194 /net-mgmt/nagios4/files/patch-lib_nsock.c
parentmisc/nms: document ncurses, honor CFLAGS and LDFLAGS (diff)
Revert the update to 4.2.
It currently exits with a bus error, which is, not good. Reported by: many Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-lib_nsock.c')
-rw-r--r--net-mgmt/nagios4/files/patch-lib_nsock.c11
1 files changed, 11 insertions, 0 deletions
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;
+ }