From owner-svn-ports-head@freebsd.org Tue Nov 7 15:49:27 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EC46E5C45E; Tue, 7 Nov 2017 15:49:27 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [96.47.72.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E04A706A1; Tue, 7 Nov 2017 15:49:27 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA7FmBqK047609; Tue, 7 Nov 2017 15:48:11 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA7FmB6p047608; Tue, 7 Nov 2017 15:48:11 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201711071548.vA7FmB6p047608@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 7 Nov 2017 15:48:11 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/net-mgmt/monitoring-plugins/files X-SVN-Commit-Revision: 453666 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 15:49:27 -0000 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