dev-php/pecl-http: 4.2.6 -std=gnu17

This is a quick-fix for gcc15.

Signed-off-by: Jaco Kroon <jkroon@gentoo.org>
This commit is contained in:
Jaco Kroon
2026-01-26 10:11:28 +02:00
parent a38e083ea0
commit 05d43ec97f

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -11,7 +11,7 @@ PHP_INI_NAME="50-http"
USE_PHP="php8-2 php8-3"
inherit php-ext-pecl-r3
inherit php-ext-pecl-r3 flag-o-matic
DESCRIPTION="Extended HTTP Support for PHP"
LICENSE="BSD-2 MIT"
@@ -41,6 +41,9 @@ src_prepare() {
# Respect LDFLAGS, bug 727134
export EXTRA_LDFLAGS="${LDFLAGS}"
# Won't compile with GCC15 otherwise.
append-cflags -std=gnu17
}
src_test() {