svn commit: r453666 - head/net-mgmt/monitoring-plugins/files
Mathieu Arnold
mat at FreeBSD.org
Tue Nov 7 15:49:27 UTC 2017
Author: mat
Date: Tue Nov 7 15:48:11 2017
New Revision: 453666
URL: https://svnweb.freebsd.org/changeset/ports/453666
Log:
Fix build with MariaDB 10.2.
PR: 223424
Submitted by: brnrd
Reported by: Matthias Fechner
Sponsored by: Absolight
Added:
head/net-mgmt/monitoring-plugins/files/patch-plugins_common.h (contents, props changed)
Added: head/net-mgmt/monitoring-plugins/files/patch-plugins_common.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins_common.h Tue Nov 7 15:48:11 2017 (r453666)
@@ -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
More information about the svn-ports-head
mailing list