git: 9192049d9e37 - main - net-mgmt/monitoring-plugins: Fix a problem with NLS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Mar 2023 09:27:19 UTC
The branch main has been updated by joneum: URL: https://cgit.FreeBSD.org/ports/commit/?id=9192049d9e376d9c3d6bea45c2ea8a7d98b780f5 commit 9192049d9e376d9c3d6bea45c2ea8a7d98b780f5 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2023-03-19 09:23:52 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2023-03-19 09:27:13 +0000 net-mgmt/monitoring-plugins: Fix a problem with NLS there was an error with the build when NLS is set, see https://github.com/monitoring-plugins/monitoring-plugins/issues/1853 PR: 269922 Reported by: Tom Weustink <t.weustink@outlook.com> Sponsored by: Netzkommune GmbH --- .../monitoring-plugins/files/patch-plugins_check__swap.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_check__swap.c b/net-mgmt/monitoring-plugins/files/patch-plugins_check__swap.c new file mode 100644 index 000000000000..4c534bcdbed1 --- /dev/null +++ b/net-mgmt/monitoring-plugins/files/patch-plugins_check__swap.c @@ -0,0 +1,12 @@ +--- plugins/check_swap.c.orig 2023-03-19 09:10:16.525073000 +0100 ++++ plugins/check_swap.c 2023-03-19 09:10:31.862180000 +0100 +@@ -34,9 +34,6 @@ const char *email = "devel@monitoring-plugins.org"; + #include "common.h" + #include "popen.h" + #include "utils.h" +-#include <string.h> +-#include <math.h> +-#include <libintl.h> + + #ifdef HAVE_DECL_SWAPCTL + # ifdef HAVE_SYS_PARAM_H