From owner-svn-ports-head@FreeBSD.ORG Mon May 12 22:06:37 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99E0177F; Mon, 12 May 2014 22:06:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 6CE0D264F; Mon, 12 May 2014 22:06:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CM6bE7082415; Mon, 12 May 2014 22:06:37 GMT (envelope-from tdb@svn.freebsd.org) Received: (from tdb@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4CM6aUS082411; Mon, 12 May 2014 22:06:36 GMT (envelope-from tdb@svn.freebsd.org) Message-Id: <201405122206.s4CM6aUS082411@svn.freebsd.org> From: Tim Bishop Date: Mon, 12 May 2014 22:06:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353902 - in head/net-mgmt/collectd5: . files X-SVN-Group: ports-head 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.18 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: Mon, 12 May 2014 22:06:37 -0000 Author: tdb Date: Mon May 12 22:06:36 2014 New Revision: 353902 URL: http://svnweb.freebsd.org/changeset/ports/353902 QAT: https://qat.redports.org/buildarchive/r353902/ Log: - Fix build with libstatgrab 0.90 PR: ports/189738 Approved by: maintainer Added: head/net-mgmt/collectd5/files/patch-src__collectd.c (contents, props changed) head/net-mgmt/collectd5/files/patch-src__disk.c (contents, props changed) Modified: head/net-mgmt/collectd5/Makefile Modified: head/net-mgmt/collectd5/Makefile ============================================================================== --- head/net-mgmt/collectd5/Makefile Mon May 12 22:01:10 2014 (r353901) +++ head/net-mgmt/collectd5/Makefile Mon May 12 22:06:36 2014 (r353902) @@ -3,7 +3,7 @@ PORTNAME= collectd PORTVERSION= 5.4.1 -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= 5 CATEGORIES= net-mgmt MASTER_SITES= http://collectd.org/files/ Added: head/net-mgmt/collectd5/files/patch-src__collectd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/collectd5/files/patch-src__collectd.c Mon May 12 22:06:36 2014 (r353902) @@ -0,0 +1,11 @@ +--- ./src/collectd.c.orig 2014-01-26 08:09:14.840391000 +0000 ++++ ./src/collectd.c 2014-05-10 23:35:17.226683756 +0100 +@@ -288,7 +288,7 @@ + #endif + + #if HAVE_LIBSTATGRAB +- if (sg_init ()) ++ if (sg_init (0)) + { + ERROR ("sg_init: %s", sg_str_error (sg_get_error ())); + return (-1); Added: head/net-mgmt/collectd5/files/patch-src__disk.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/collectd5/files/patch-src__disk.c Mon May 12 22:06:36 2014 (r353902) @@ -0,0 +1,12 @@ +--- ./src/disk.c.orig 2014-01-26 08:09:14.856391000 +0000 ++++ ./src/disk.c 2014-05-10 23:35:17.232681397 +0100 +@@ -732,7 +732,8 @@ + + #elif defined(HAVE_LIBSTATGRAB) + sg_disk_io_stats *ds; +- int disks, counter; ++ size_t disks; ++ int counter; + char name[DATA_MAX_NAME_LEN]; + + if ((ds = sg_get_disk_io_stats(&disks)) == NULL)