aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins/fix-mysql-headers.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-03-23 10:53:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 08:54:41 +0000
commit3a774619019cfe608f75a2cb301d0d14a814165d (patch)
treed300f5c887f86a87525f1dde2f5492172379939a /main/nagios-plugins/fix-mysql-headers.patch
parent5ed3c4cc95d15f7e7e54a78e03712b24979d7d37 (diff)
downloadaports-3a774619019cfe608f75a2cb301d0d14a814165d.tar.bz2
aports-3a774619019cfe608f75a2cb301d0d14a814165d.tar.xz
main/nagios-plugins: rebuild against mariadb-connector-c
Diffstat (limited to 'main/nagios-plugins/fix-mysql-headers.patch')
-rw-r--r--main/nagios-plugins/fix-mysql-headers.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/nagios-plugins/fix-mysql-headers.patch b/main/nagios-plugins/fix-mysql-headers.patch
new file mode 100644
index 0000000000..34926a73fe
--- /dev/null
+++ b/main/nagios-plugins/fix-mysql-headers.patch
@@ -0,0 +1,24 @@
+diff -up ./plugins/check_mysql.c.fix_mysql_f27 ./plugins/check_mysql.c
+--- ./plugins/check_mysql.c.fix_mysql_f27 2017-11-20 21:19:47.597527944 -0500
++++ ./plugins/check_mysql.c 2017-11-20 21:17:15.715921194 -0500
+@@ -41,7 +41,7 @@ const char *email = "devel@nagios-plugin
+ #include "utils_base.h"
+ #include "netutils.h"
+
+-#include <mysql.h>
++#include <server/mysql.h>
+ #include <mysqld_error.h>
+ #include <errmsg.h>
+
+diff -up ./plugins/check_mysql_query.c.fix_mysql_f27 ./plugins/check_mysql_query.c
+--- ./plugins/check_mysql_query.c.fix_mysql_f27 2017-11-20 21:20:01.369764323 -0500
++++ ./plugins/check_mysql_query.c 2017-11-20 21:17:20.378001200 -0500
+@@ -38,7 +38,7 @@ const char *email = "devel@nagios-plugin
+ #include "utils_base.h"
+ #include "netutils.h"
+
+-#include <mysql.h>
++#include <server/mysql.h>
+ #include <errmsg.h>
+
+ char *db_user = NULL;