diff options
author | mat <mat@FreeBSD.org> | 2017-11-07 23:48:11 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-11-07 23:48:11 +0800 |
commit | 3ac9fd3eb7d3d3ce522c3dae6203b7f282a52d98 (patch) | |
tree | a8c45cc665c6cd81d7ce4e55f235e61ddabc2098 /net-mgmt | |
parent | 758dd3adf6893fb4fb26cec943b0d6dbfb111722 (diff) | |
download | freebsd-ports-gnome-3ac9fd3eb7d3d3ce522c3dae6203b7f282a52d98.tar.gz freebsd-ports-gnome-3ac9fd3eb7d3d3ce522c3dae6203b7f282a52d98.tar.zst freebsd-ports-gnome-3ac9fd3eb7d3d3ce522c3dae6203b7f282a52d98.zip |
Fix build with MariaDB 10.2.
PR: 223424
Submitted by: brnrd
Reported by: Matthias Fechner
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/monitoring-plugins/files/patch-plugins_common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_common.h b/net-mgmt/monitoring-plugins/files/patch-plugins_common.h new file mode 100644 index 000000000000..ca5e556bf3b2 --- /dev/null +++ b/net-mgmt/monitoring-plugins/files/patch-plugins_common.h @@ -0,0 +1,14 @@ +--- plugins/common.h.orig 2016-11-29 08:45:08 UTC ++++ 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 |