git: 3b79b890498d - main - net-mgmt/check_mk_agent: Fix patches for 2.0.0p13

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sun, 31 Oct 2021 19:27:54 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b79b890498dc57ca0816e1854034ad8ebad35e7

commit 3b79b890498dc57ca0816e1854034ad8ebad35e7
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-10-31 19:26:58 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-10-31 19:27:39 +0000

    net-mgmt/check_mk_agent: Fix patches for 2.0.0p13
---
 net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd b/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd
index 2185ffe1e486..1516ac616f85 100644
--- a/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd
+++ b/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd
@@ -1,6 +1,6 @@
---- check_mk_agent.freebsd.orig	2020-02-05 09:13:20 UTC
+--- check_mk_agent.freebsd.orig	2021-10-31 19:22:57 UTC
 +++ check_mk_agent.freebsd
-@@ -41,15 +41,15 @@
+@@ -27,15 +27,15 @@ $MK_RUN_SYNC_PARTS || {
  export LC_ALL=C
  unset LANG
  
@@ -17,10 +17,10 @@
  # Make sure, locally installed binaries are found
 -PATH=$PATH:/usr/local/bin:/usr/local/sbin
 +PATH=$PATH:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin
+ [ -d /var/qmail/bin ] && PATH=$PATH:/var/qmail/bin
  
  # All executables in PLUGINSDIR will simply be executed and their
- # ouput appended to the output of the agent. Plugins define their own
-@@ -109,7 +109,7 @@ function run_cached() {
+@@ -102,7 +102,7 @@ function run_cached() {
  
      # Cache file outdated and new job not yet running? Start it
      if [ -z "$USE_CACHEFILE" -a ! -e "$CACHEFILE.new" ] ; then