aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch')
-rw-r--r--modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch b/modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch
deleted file mode 100644
index 5284ec8..0000000
--- a/modules/pkgs/monitoringPlugins/check_mysql_MYSQL_PORT.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 399cc141526ee77e1befce469f1fab40645f299d Mon Sep 17 00:00:00 2001
-From: Bernard Spil <Sp1l@users.noreply.github.com>
-Date: Mon, 6 Nov 2017 17:31:44 +0100
-Subject: [PATCH] Fix build issue with MariaDB 10.2
-
-As of 10.2 MariaDB no longer defines MYSQL_PORT.
----
- plugins/common.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/plugins/common.h b/plugins/common.h
-index 8719b502..6bf4fca4 100644
---- a/plugins/common.h
-+++ b/plugins/common.h
-@@ -174,6 +174,11 @@
- *
- */
-
-+/* MariaDB 10.2 client does not set MYSQL_PORT */
-+#ifndef MYSQL_PORT
-+# define MYSQL_PORT 3306
-+#endif
-+
- enum {
- OK = 0,
- ERROR = -1