From 45950fa20b6a1600b7baa59b92b3790ce8282422 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 8 Nov 2025 07:26:15 -0500 Subject: dev-lang/php: patch tests for compatibility with new libpcre2 Temporarily disable a (fixed upstream) failing network test, too. Closes: https://bugs.gentoo.org/965018 Signed-off-by: Michael Orlitzky --- dev-lang/php/php-8.3.27.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dev-lang/php/php-8.3.27.ebuild') diff --git a/dev-lang/php/php-8.3.27.ebuild b/dev-lang/php/php-8.3.27.ebuild index 7805a5ab340e..14fca609ecae 100644 --- a/dev-lang/php/php-8.3.27.ebuild +++ b/dev-lang/php/php-8.3.27.ebuild @@ -135,6 +135,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/php-8.3.9-gd-cachevars.patch" + "${FILESDIR}/php-8.4.14-libpcre2-testfix.patch" ) PHP_MV="$(ver_cut 1)" @@ -273,6 +274,13 @@ src_prepare() { rm ext/gd/tests/gh19955.phpt fi + # Should be OK in the next version, but this test required network + # access when it was added: + # + # https://github.com/php/php-src/pull/19776 + # + rm sapi/cli/tests/php_cli_server_ipv6_error_message.phpt || die + # One-off, somebody forgot to update a version constant rm ext/reflection/tests/ReflectionZendExtension.phpt || die -- cgit v1.2.3