Index: head/databases/pecl-redis/Makefile =================================================================== --- head/databases/pecl-redis/Makefile (revision 541313) +++ head/databases/pecl-redis/Makefile (revision 541314) @@ -1,22 +1,23 @@ # $FreeBSD$ PORTNAME= redis PORTVERSION= 5.3.0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= daniel@blodan.se COMMENT= Extension to access Redis LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/COPYING USES= php:pecl USE_PHP= hash:build json:build session:build OPTIONS_DEFINE= IGBINARY IGBINARY_DESC= Build with Igbinary serializer IGBINARY_CONFIGURE_ENABLE= redis-igbinary IGBINARY_USE= PHP=igbinary:build .include Index: head/databases/pecl-redis/files/patch-redis.c =================================================================== --- head/databases/pecl-redis/files/patch-redis.c (nonexistent) +++ head/databases/pecl-redis/files/patch-redis.c (revision 541314) @@ -0,0 +1,15 @@ +Patch can be removed in next release +Upstream fix: +https://github.com/phpredis/phpredis/pull/1800 + +--- redis.c.orig 2020-07-03 06:16:52 UTC ++++ redis.c +@@ -30,7 +30,7 @@ + #include + #include + #include +- ++#include + + #ifdef PHP_SESSION + #include Property changes on: head/databases/pecl-redis/files/patch-redis.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/pecl-redis/files/patch-redis__session.c =================================================================== --- head/databases/pecl-redis/files/patch-redis__session.c (nonexistent) +++ head/databases/pecl-redis/files/patch-redis__session.c (revision 541314) @@ -0,0 +1,16 @@ +Patch can be removed in next release +Upstream fix; +https://github.com/phpredis/phpredis/pull/1804 + +--- redis_session.c.orig 2020-07-03 06:17:19 UTC ++++ redis_session.c +@@ -480,7 +480,8 @@ PS_OPEN_FUNC(redis) + } + + redis_sock = redis_sock_create(addr, addrlen, port, timeout, read_timeout, +- persistent, ZSTR_VAL(persistent_id), retry_interval); ++ persistent, persistent_id ? ZSTR_VAL(persistent_id) : NULL, ++ retry_interval); + + redis_pool_add(pool, redis_sock, weight, db); + redis_sock->prefix = prefix; Property changes on: head/databases/pecl-redis/files/patch-redis__session.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property