View | Details | Raw Unified | Return to bug 189740
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	collectd
4
PORTNAME=	collectd
5
PORTVERSION=	4.10.9
5
PORTVERSION=	4.10.9
6
PORTREVISION=	5
6
PORTREVISION=	6
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	http://collectd.org/files/
8
MASTER_SITES=	http://collectd.org/files/
9
9
Lines 252-258 Link Here
252
.if ${PORT_OPTIONS:MINTERFACE}
252
.if ${PORT_OPTIONS:MINTERFACE}
253
USES+=		pkgconfig
253
USES+=		pkgconfig
254
CONFIGURE_ARGS+=--enable-interface
254
CONFIGURE_ARGS+=--enable-interface
255
LIB_DEPENDS+=	statgrab:${PORTSDIR}/devel/libstatgrab
255
LIB_DEPENDS+=	libstatgrab.so:${PORTSDIR}/devel/libstatgrab
256
PLIST_SUB+=	INTERFACE=""
256
PLIST_SUB+=	INTERFACE=""
257
CONFIGURE_ENV+=	LIBS="`pkg-config --libs libstatgrab`"
257
CONFIGURE_ENV+=	LIBS="`pkg-config --libs libstatgrab`"
258
.else
258
.else
(-)files/patch-src__collectd.c (+11 lines)
Line 0 Link Here
1
--- ./src/collectd.c.orig	2013-11-23 22:04:05.130103822 +0000
2
+++ ./src/collectd.c	2013-11-23 22:04:25.627104708 +0000
3
@@ -294,7 +294,7 @@
4
 #endif
5
 
6
 #if HAVE_LIBSTATGRAB
7
-	if (sg_init ())
8
+	if (sg_init (0))
9
 	{
10
 		ERROR ("sg_init: %s", sg_str_error (sg_get_error ()));
11
 		return (-1);
(-)files/patch-src__disk.c (+12 lines)
Line 0 Link Here
1
--- ./src/disk.c.orig	2013-11-23 22:36:13.757103756 +0000
2
+++ ./src/disk.c	2013-11-23 22:36:15.058103844 +0000
3
@@ -691,7 +691,8 @@
4
 
5
 #elif defined(HAVE_LIBSTATGRAB)
6
 	sg_disk_io_stats *ds;
7
-	int disks, counter;
8
+	size_t disks;
9
+	int counter;
10
 	char name[DATA_MAX_NAME_LEN];
11
 	
12
 	if ((ds = sg_get_disk_io_stats(&disks)) == NULL)

Return to bug 189740