From nobody Wed Jul 12 13:39:32 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R1JkX3mmNz2tsYk; Wed, 12 Jul 2023 13:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R1JkX3JT2z3JBs; Wed, 12 Jul 2023 13:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689169172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PAj9GFXIJ/EcvOcb6mU/9Ixtaxa5qVe5j/3v2Wp7VF0=; b=q/ZAxY9ewIdMZOl5GUmBUKZhAOMYfwATniVjYbK285Z+CMnqJ5hphmC8YKPtGZCAB65VCR D6HrChfLkEbNt3dEQ7zwviWPG/Q7KpanrjwQmgSIA1QODauAUn7P3j+iJhY6+q5rwHp5Sm XzfphfGS4voz+ypadyr5NRd9nQlCEswpqOVgiIlZcDvHB44/qsKT/mWs7IKVOEFSQvX5GQ taLU7ZarnGhhqnGiyIiZs8kJchcK/SU5xfziE+tFmnEM3mXR6IOFCiGiyOwmonVo0uEp0e sVLeOD4s9B7lsEqq3i3nXWglPPM/I5BmX+342B1j5TNJ8xYjyiaPeZIUEgHAPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689169172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PAj9GFXIJ/EcvOcb6mU/9Ixtaxa5qVe5j/3v2Wp7VF0=; b=yTGJwSYktkrOyfN0EaSQBfVGPo19zWAmEIvYL9d2qFgNbZOaLXatGwMrs7IHjF1uAZH2l+ H9d5zPTkMNlCj+GXCeEFKIWT+x0ZwVk+SrpgDRqrGQ4xjFFtAusgGxxDi5EPW8cjbJFie5 FOHKuCyI0uHjTVvklIorCr/VSvHOyKaxECY5irkEURmmzOFSHr5Ne6PrgXs6YH4ybhWWlI dIpw4OTP3lql/SjeczeLvOyMBC0YpcDBTjXHexjY21KE0ygx1llaBEW9P4b783tVV/4z7D YCMFPzfdsppS3OUUVBXLnZmimyLNmGXqqB4C5ZFV20vEUdc1pu3JXoGeG+Qn7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689169172; a=rsa-sha256; cv=none; b=vGwnEWhTumun0HKtNpjzzieIlokrm5OoXm0qO66XOWLtOBbNqcyO3q4wrrQpQ4FZ99tVb6 bT2wH9I6vmOUYwhEMPek1HhbrAYrXDUgOIQgIrXLzlE5/njJXjb0Nyr5OLuDxc4aH2/N85 GChhptwJfRQig4FImNZgn1W4kDql4bg8vxt0qqmQ10Fxbeb3IzefZQ/RT/3WN6rsn8pUA1 lqPKO+S49WptYNqjYxT7wXfVCE3GPJ7pMQCo7//2BOAgYGSGQCIsNypv72oGYIU8fsjW5T uorXuJ0N7pMFCNpgFzvZaibWYDpkIzYpbJHy122m8pyxI49iGBcpbt012ky6vA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R1JkX2Js4z19F8; Wed, 12 Jul 2023 13:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36CDdWNr044419; Wed, 12 Jul 2023 13:39:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36CDdWc1044418; Wed, 12 Jul 2023 13:39:32 GMT (envelope-from git) Date: Wed, 12 Jul 2023 13:39:32 GMT Message-Id: <202307121339.36CDdWc1044418@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: e85832720f02 - main - databases/pecl-redis: php8.1 PHP Fatal error: Arginfo / zpp mismatch during call of Redis::pconnect() List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e85832720f02bd37c3f9ebe5e97ae648798b6922 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e85832720f02bd37c3f9ebe5e97ae648798b6922 commit e85832720f02bd37c3f9ebe5e97ae648798b6922 Author: Vladimir Druzenko AuthorDate: 2023-07-12 13:32:11 +0000 Commit: Vladimir Druzenko CommitDate: 2023-07-12 13:32:11 +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 (maintainer), arrowd (mentor) Obtained from: https://github.com/phpredis/phpredis/issues/2041 Differential Revision: https://reviews.freebsd.org/D40984 MFH: 2023Q3 --- 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)