Index: head/databases/pecl-rrd/Makefile =================================================================== --- head/databases/pecl-rrd/Makefile (revision 449400) +++ head/databases/pecl-rrd/Makefile (revision 449401) @@ -1,20 +1,16 @@ # $FreeBSD$ PORTNAME= rrd -DISTVERSION= 1.1.3 -PORTREVISION= 4 +DISTVERSION= 2.0.1 CATEGORIES= databases pear MAINTAINER= flo@FreeBSD.org COMMENT= PHP bindings to rrd tool system LICENSE= PHP301 +IGNORE_WITH_PHP=56 LIB_DEPENDS= librrd.so:databases/rrdtool - -LDFLAGS+= -L${LOCALBASE}/lib - -USES= php:pecl -IGNORE_WITH_PHP= 70 +USES= php:pecl localbase pkgconfig .include Index: head/databases/pecl-rrd/distinfo =================================================================== --- head/databases/pecl-rrd/distinfo (revision 449400) +++ head/databases/pecl-rrd/distinfo (revision 449401) @@ -1,2 +1,3 @@ -SHA256 (PECL/rrd-1.1.3.tgz) = 0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e -SIZE (PECL/rrd-1.1.3.tgz) = 19229 +TIMESTAMP = 1497340386 +SHA256 (PECL/rrd-2.0.1.tgz) = 39f5ae515de003d8dad6bfd77db60f5bd5b4a9f6caa41479b1b24b0d6592715d +SIZE (PECL/rrd-2.0.1.tgz) = 18880 Index: head/databases/pecl-rrd/files/patch-rrd.c =================================================================== --- head/databases/pecl-rrd/files/patch-rrd.c (revision 449400) +++ head/databases/pecl-rrd/files/patch-rrd.c (nonexistent) @@ -1,81 +0,0 @@ ---- rrd.c.orig 2016-01-12 12:42:39 UTC -+++ rrd.c -@@ -19,7 +19,9 @@ - #include - - #include "php_rrd.h" -+#ifdef HAVE_RRD_GRAPH - #include "rrd_graph.h" -+#endif - #include "rrd_create.h" - #include "rrd_update.h" - #include "rrd_info.h" -@@ -387,6 +389,7 @@ PHP_FUNCTION(rrd_tune) - } - /* }}} */ - -+#ifdef HAVE_RRD_GRAPH - /* {{{ proto array rrd_xport(array options) - * Creates a graph based on options passed via an array - */ -@@ -480,6 +483,7 @@ PHP_FUNCTION(rrd_xport) - free(data); - } - /* }}} */ -+#endif - - #ifdef HAVE_RRDC_DISCONNECT - /* {{{ proto void rrdc_disconnect() -@@ -537,18 +541,22 @@ ZEND_BEGIN_ARG_INFO(arginfo_rrd_tune, 0) - ZEND_ARG_INFO(0, options) - ZEND_END_ARG_INFO() - -+#ifdef HAVE_RRD_GRAPH - ZEND_BEGIN_ARG_INFO(arginfo_rrd_xport, 0) - ZEND_ARG_INFO(0, options) - ZEND_END_ARG_INFO() -+#endif - - ZEND_BEGIN_ARG_INFO(arginfo_rrd_info, 0) - ZEND_ARG_INFO(0, file) - ZEND_END_ARG_INFO() - -+#ifdef HAVE_RRD_GRAPH - ZEND_BEGIN_ARG_INFO(arginfo_rrd_graph, 0) - ZEND_ARG_INFO(0, file) - ZEND_ARG_INFO(0, options) - ZEND_END_ARG_INFO() -+#endif - - ZEND_BEGIN_ARG_INFO(arginfo_rrd_create, 0) - ZEND_ARG_INFO(0, filename) -@@ -565,7 +573,9 @@ ZEND_END_ARG_INFO() - static zend_function_entry rrd_functions[] = { - PHP_FE(rrd_update, arginfo_rrd_update) - PHP_FE(rrd_create, arginfo_rrd_create) -+#ifdef HAVE_RRD_GRAPH - PHP_FE(rrd_graph, arginfo_rrd_graph) -+#endif - PHP_FE(rrd_error, NULL) - PHP_FE(rrd_fetch, arginfo_rrd_fetch) - PHP_FE(rrd_first, arginfo_rrd_first) -@@ -574,7 +584,9 @@ static zend_function_entry rrd_functions - PHP_FE(rrd_lastupdate, arginfo_rrd_lastupdate) - PHP_FE(rrd_restore, arginfo_rrd_restore) - PHP_FE(rrd_tune, arginfo_rrd_tune) -+#ifdef HAVE_RRD_GRAPH - PHP_FE(rrd_xport, arginfo_rrd_xport) -+#endif - #ifdef HAVE_RRDC_DISCONNECT - PHP_FE(rrdc_disconnect, NULL) - #endif -@@ -590,7 +602,9 @@ static zend_function_entry rrd_functions - /* {{{ PHP_MINIT_FUNCTION */ - static PHP_MINIT_FUNCTION(rrd) - { -+#ifdef HAVE_RRD_GRAPH - rrd_graph_minit(TSRMLS_C); -+#endif - rrd_create_minit(TSRMLS_C); - rrd_update_minit(TSRMLS_C); - return SUCCESS; Property changes on: head/databases/pecl-rrd/files/patch-rrd.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property