mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user