aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2021-04-07 15:39:08 +0000
committerDan Langille <dvl@FreeBSD.org>2021-04-07 15:50:24 +0000
commit80b2fa6dd4250768bc02483819e9c02f3168c7a8 (patch)
treed4ad8d2cdc41400493554f01ddc411d7299044d4 /sysutils
parent3c4f133b6acf2810e6b6419a4e88fdd83c33647a (diff)
downloadports-80b2fa6dd4250768bc02483819e9c02f3168c7a8.tar.gz
ports-80b2fa6dd4250768bc02483819e9c02f3168c7a8.zip
Fix the build for net-mgmt/nagios-check_bacula11
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c b/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c
new file mode 100644
index 000000000000..835d73110d88
--- /dev/null
+++ b/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c
@@ -0,0 +1,11 @@
+--- examples/nagios/check_bacula/check_bacula.c.orig 2021-04-01 12:38:35 UTC
++++ examples/nagios/check_bacula/check_bacula.c
+@@ -324,7 +324,7 @@ int docmd(monitoritem* item, const char* command, char
+ continue;
+ }
+
+- if (strncmp(item->D_sock, "Events:", strlen("Events:")) == 0) {
++ if (strncmp(item->D_sock->msg, "Events:", strlen("Events:")) == 0) {
+ /* Daemons can send events to the director, ignore them here */
+ continue;
+ }