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

(-)Makefile (-1 lines)
Lines 12-17 Link Here
12
12
13
LIB_DEPENDS=	librrd.so:databases/rrdtool
13
LIB_DEPENDS=	librrd.so:databases/rrdtool
14
USES=		php:pecl localbase pkgconfig
14
USES=		php:pecl localbase pkgconfig
15
IGNORE_WITH_PHP=	74
16
15
17
.include <bsd.port.mk>
16
.include <bsd.port.mk>
(-)files/patch-rrd.c (+25 lines)
Line 0 Link Here
1
--- rrd.c.orig	2020-08-28 12:06:18 UTC
2
+++ rrd.c
3
@@ -55,7 +55,7 @@ PHP_FUNCTION(rrd_fetch)
4
 	rrd_args *argv;
5
 	/* returned values if rrd_fetch doesn't fail */
6
 	time_t start, end;
7
-	ulong step,
8
+	u_long step,
9
 	ds_cnt; /* count of data sources */
10
 	char **ds_namv; /* list of data source names */
11
 	rrd_value_t *ds_data; /* all data from all sources */
12
@@ -396,11 +396,11 @@ PHP_FUNCTION(rrd_xport)
13
 	/* return values from rrd_xport */
14
 	int xxsize;
15
 	time_t start, end, time_index;
16
-	ulong step, outvar_count;
17
+	u_long step, outvar_count;
18
 	char **legend_v;
19
 	rrd_value_t *data, *data_ptr;
20
 	zval zv_data;
21
-	ulong outvar_index;
22
+	u_long outvar_index;
23
 
24
 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "a", &zv_arr_options) == FAILURE) {
25
 		return;

Return to bug 248961