Date: Tue, 7 Nov 2017 15:48:11 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453666 - head/net-mgmt/monitoring-plugins/files Message-ID: <201711071548.vA7FmB6p047608@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711071548.vA7FmB6p047608>