From 2d5886b772c3aef4ef7fd8449ba0158abd6c977e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 29 Sep 2024 10:34:42 +0000 Subject: [PATCH] extra/php-legacy to 8.2.24-2 --- extra/php-legacy/.SRCINFO | 3 ++- extra/php-legacy/PKGBUILD | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/extra/php-legacy/.SRCINFO b/extra/php-legacy/.SRCINFO index bf826cfe5..0d08b8349 100644 --- a/extra/php-legacy/.SRCINFO +++ b/extra/php-legacy/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = php-legacy pkgver = 8.2.24 - pkgrel = 1 + pkgrel = 2 url = https://www.php.net/ arch = x86_64 license = PHP-3.01 @@ -29,6 +29,7 @@ pkgbase = php-legacy makedepends = libnsl makedepends = oniguruma makedepends = patchelf + options = !lto source = https://php.net/distributions/php-8.2.24.tar.xz source = https://php.net/distributions/php-8.2.24.tar.xz.asc source = apache.conf diff --git a/extra/php-legacy/PKGBUILD b/extra/php-legacy/PKGBUILD index 859d83c99..25c245fce 100644 --- a/extra/php-legacy/PKGBUILD +++ b/extra/php-legacy/PKGBUILD @@ -22,7 +22,7 @@ pkgname=('php-legacy' 'php-legacy-tidy' 'php-legacy-xsl') pkgver=8.2.24 -pkgrel=1 +pkgrel=2 arch=('x86_64') license=('PHP-3.01') url='https://www.php.net/' @@ -45,6 +45,9 @@ validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC' '39B641343D8C104B2B146DC3F9C39DC0B9698544' 'E60913E4DF209907D8E30D96659A97C9CF2A795A') _interpreter=${pkgver%.*} +# LTO is incompatible with global registers and results in reduced performance: +# https://gitlab.archlinux.org/archlinux/packaging/packages/php/-/merge_requests/3 +options=('!lto') prepare() { cd "${srcdir}/php-${pkgver}" @@ -78,7 +81,6 @@ build() { --datadir=/usr/share/php-legacy \ --program-suffix=-legacy \ --includedir=/usr/include/php-legacy \ - --disable-gcc-global-regs \ " local _phpextensions="\