# $FreeBSD$
PORTNAME= http
PORTVERSION= 2.5.3
PORTVERSION= 2.5.6
CATEGORIES= www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
SHA256 (pecl_http-2.5.3.tgz) = 713790881f0308fceff0177340cb8b1ab3f7cb1c2b7906e06146399c7fdc6094
SHA256 (pecl_http-2.5.6.tgz) = 8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4
SIZE (pecl_http-2.5.3.tgz) = 191863
SIZE (pecl_http-2.5.6.tgz) = 200469
--- php_http_url.c.orig 2015-04-08 10:14:19 UTC
+++ php_http_url.c
@@ -27,6 +27,10 @@
# include <arpa/inet.h>
#endif
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <stddef.h>
+#endif
+
#include "php_http_utf8.h"
static inline char *localhostname(void)
--- src/php_http_url.c.orig 2016-03-09 10:04:21 UTC
+++ src/php_http_url.c