git: c9236835b4f9 - 2023Q3 - databases/pecl-redis: php8.1 PHP Fatal error: Arginfo / zpp mismatch during call of Redis::pconnect()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jul 2023 13:44:26 UTC
The branch 2023Q3 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c9236835b4f94133fac85ba87b20ab170ca5c7a1 commit c9236835b4f94133fac85ba87b20ab170ca5c7a1 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-07-12 13:32:11 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-07-12 13:44:05 +0000 databases/pecl-redis: php8.1 PHP Fatal error: Arginfo / zpp mismatch during call of Redis::pconnect() Without patch port doesn't work with PHP 8.1 and probably with 8.0, 8.2 and 8.3 too. Upstream issue: https://github.com/phpredis/phpredis/issues/2041 PR: 272451 Approved by: Daniel Ylitalo <daniel@blodan.se> (maintainer), arrowd (mentor) Obtained from: https://github.com/phpredis/phpredis/issues/2041 Differential Revision: https://reviews.freebsd.org/D40984 MFH: 2023Q3 (cherry picked from commit e85832720f02bd37c3f9ebe5e97ae648798b6922) --- databases/pecl-redis/files/patch-redis.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/databases/pecl-redis/files/patch-redis.c b/databases/pecl-redis/files/patch-redis.c new file mode 100644 index 000000000000..68a2dc1488f4 --- /dev/null +++ b/databases/pecl-redis/files/patch-redis.c @@ -0,0 +1,12 @@ +--- redis.c.orig 2022-02-15 18:25:22 UTC ++++ redis.c +@@ -154,6 +154,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pconnect, 0, 0, 1) + ZEND_ARG_INFO(0, host) + ZEND_ARG_INFO(0, port) + ZEND_ARG_INFO(0, timeout) ++ ZEND_ARG_INFO(0, persistent_id) ++ ZEND_ARG_INFO(0, retry_interval) ++ ZEND_ARG_INFO(0, read_timeout) + ZEND_END_ARG_INFO() + + ZEND_BEGIN_ARG_INFO_EX(arginfo_mget, 0, 0, 1)