diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2023-07-12 13:32:11 +0000 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2023-07-12 13:32:11 +0000 |
commit | e85832720f02bd37c3f9ebe5e97ae648798b6922 (patch) | |
tree | c3081fac73714b80ebd95e43fdc625bad7d4590b | |
parent | 2e393e7552f4bf17b877aa77fb50ad5256aff8be (diff) | |
download | ports-e85832720f02bd37c3f9ebe5e97ae648798b6922.tar.gz ports-e85832720f02bd37c3f9ebe5e97ae648798b6922.zip |
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
-rw-r--r-- | databases/pecl-redis/files/patch-redis.c | 12 |
1 files changed, 12 insertions, 0 deletions
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) |