summaryrefslogtreecommitdiff
path: root/dev-lang/php/php-8.3.27.ebuild
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2025-11-08 07:26:15 -0500
committerMichael Orlitzky <mjo@gentoo.org>2025-11-08 08:33:07 -0500
commit45950fa20b6a1600b7baa59b92b3790ce8282422 (patch)
tree8d9c7e51ab310c511e7dc6f9239bf65ca0f3bf18 /dev-lang/php/php-8.3.27.ebuild
parent1d28988bee92ccc030213245d2212a3f14ec02be (diff)
downloadgentoo-45950fa20b6a1600b7baa59b92b3790ce8282422.tar.gz
gentoo-45950fa20b6a1600b7baa59b92b3790ce8282422.tar.bz2
gentoo-45950fa20b6a1600b7baa59b92b3790ce8282422.zip
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 <mjo@gentoo.org>
Diffstat (limited to 'dev-lang/php/php-8.3.27.ebuild')
-rw-r--r--dev-lang/php/php-8.3.27.ebuild8
1 files changed, 8 insertions, 0 deletions
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