Skip to content

Commit

Permalink
net-mgmt/monitoring-plugins: Fix a problem with NLS
Browse files Browse the repository at this point in the history
there was an error with the build when NLS is set, see
monitoring-plugins/monitoring-plugins#1853

PR:	269922
Reported by:	Tom Weustink <t.weustink@outlook.com>
Sponsored by:	Netzkommune GmbH
  • Loading branch information
joneum committed Mar 19, 2023
1 parent 98a156d commit 9192049
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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

0 comments on commit 9192049

Please sign in to comment.