summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-02-24 15:38:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-02-24 15:38:17 +0000
commit4380fd6e3c7c8947ee02c5d21e8cbb53905bec64 (patch)
treedc36cb1e00203fdc87eb3be6adfde3080568f275 /net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c
parentUpdate to latest commit. (diff)
Update to 2.3.2.
General cleanup.
Notes
Notes: svn path=/head/; revision=526977
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c b/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c
index 3da67fb48a92..0ea04e40744c 100644
--- a/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c
+++ b/net-mgmt/nagios-plugins/files/patch-plugins_check__pgsql.c
@@ -1,6 +1,6 @@
---- plugins/check_pgsql.c.orig 2015-07-30 21:40:06 UTC
+--- plugins/check_pgsql.c.orig 2019-12-04 21:53:08 UTC
+++ plugins/check_pgsql.c
-@@ -36,6 +36,7 @@ const char *email = "devel@nagios-plugin
+@@ -36,6 +36,7 @@ const char *email = "devel@nagios-plugins.org";
#include "utils.h"
#include "netutils.h"
@@ -8,3 +8,12 @@
#include <libpq-fe.h>
#include <pg_config_manual.h>
+@@ -162,7 +163,7 @@ main (int argc, char **argv)
+ pgoptions = NULL; /* special options to start up the backend server */
+ pgtty = NULL; /* debugging tty for the backend server */
+
+- setlocale (LC_ALL, "");
++ setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+