From nobody Wed Jul 12 13:44:26 2023 X-Original-To: dev-commits-ports-all@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 4R1JrC33Mtz2tv1x; Wed, 12 Jul 2023 13:44:27 +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 4R1JrC1z12z3Jtg; Wed, 12 Jul 2023 13:44:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689169467; 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=4TiJ5wXxzI3zKjviOSQI8c1lvMJRtRJcUvumnJ9Y7GQ=; b=d6aUJdf9WO62a8o9j4O5YWK2eShNxc6EbYw2+z1opAd0TL7VXOF/uiovyubotfD3/KQEIT Rfk/XBZJgze2FSukLlhD6JTiFZeAyxmNiW4+tcuGMW4rhfGMcQ0T0pJ3A02vo8AZc9K3yG 0vvGXRbjaCQg5sl9icbjOlZzEZlRdvEq1j0yX4nt8Dw8yxs4xYwYR+KRZ27XYeSZ3+mNi0 yIRKF4R5QpmSFLC3dMa6kT0JyLj0rUAT0wNioKEAomulnRJTxTMm/SX7RgHae0Z1rvl025 v8HBYLcyEDL4gigJfIH1usnNzuMe89/7omD7HoqegsDiy8s6OUTBPqyQy9Jmhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689169467; 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=4TiJ5wXxzI3zKjviOSQI8c1lvMJRtRJcUvumnJ9Y7GQ=; b=O5r8JHy5Gwl33F1GUYfchwaiHiPrkSP1YE7XVKasNvtarDbceiYphgUcfMlSef2PD4P10W lxQ/WCDyiXNyVS4BGWRl8gBM3J9Fnl/9muYVsthIdxOlU/M6cUrPnOOteY+IDuhqj9ZcML 4tIQG4ne/j5+rGe0XNqxSoST3RwE9CG20DlL//+oxQ8xuo+GlgCaWA9MoSZLvZs4LlDLoN QtDbGYlIE8FRutZANSUnu8hJxS0Un0UsRAfuzSnhJlXeXZvJNA9B6F8v3XXbJWYuRmrGbq M3UVlKg6Hhgp7qQeq6n/baIYfDXOHgWn7QbKDTl53SQapTB6FDpTEQkcPr0cag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689169467; a=rsa-sha256; cv=none; b=EJ1o24Vv9GDa76CER2FylOCsLXxFSKdmUO5lAkDpTiD9upVinoCFm6nD0E5NiDCuF2IJ67 3KLL9Sa+Ra18M6MliVsNdwuO97AIvvIpCMdCGZqgB2Yx+hXEqVmxSW3afvPXrzD0X1T21i Pb2r8beSol1HxAS3VjZe7JjgY49rM0N7d/zlpCe3zn76EETvv8mKowrxbLtAxITkcjaagW s9W/nB/ILPncRibt36wy4K9l4Pd31YOm7fX8VqivsEqOB+A5sHQeD95OlZaTHBAW7Y7SRY CgaPDps5zEnymZ71v+zkiYUsPfTjKFAm25ysTbHRGEGVo+i5+fCFIy8NZfM/yg== 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 4R1JrC0fxJz19hn; Wed, 12 Jul 2023 13:44:27 +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 36CDiQeq059996; Wed, 12 Jul 2023 13:44:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36CDiQEX059995; Wed, 12 Jul 2023 13:44:26 GMT (envelope-from git) Date: Wed, 12 Jul 2023 13:44:26 GMT Message-Id: <202307121344.36CDiQEX059995@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Vladimir Druzenko Subject: git: c9236835b4f9 - 2023Q3 - databases/pecl-redis: php8.1 PHP Fatal error: Arginfo / zpp mismatch during call of Redis::pconnect() List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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/2023Q3 X-Git-Reftype: branch X-Git-Commit: c9236835b4f94133fac85ba87b20ab170ca5c7a1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q3 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c9236835b4f94133fac85ba87b20ab170ca5c7a1 commit c9236835b4f94133fac85ba87b20ab170ca5c7a1 Author: Vladimir Druzenko AuthorDate: 2023-07-12 13:32:11 +0000 Commit: Vladimir Druzenko 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 (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)