diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2023-03-19 09:23:52 +0000 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2023-03-19 09:27:13 +0000 |
commit | 9192049d9e376d9c3d6bea45c2ea8a7d98b780f5 (patch) | |
tree | d30df95d2c428eeb180d43e9ceac37e2876bffee | |
parent | 98a156d5e64318d507a47f7a0eafde5e234a8b0f (diff) | |
download | ports-9192049d9e376d9c3d6bea45c2ea8a7d98b780f5.tar.gz ports-9192049d9e376d9c3d6bea45c2ea8a7d98b780f5.zip |
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
-rw-r--r-- | net-mgmt/monitoring-plugins/files/patch-plugins_check__swap.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 |