Another solution would be to install gcc13 and compile it with it. You would also need to update PKGBUILD like so :
diff --git a/PKGBUILD b/PKGBUILD
index 02871df..2eebe43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -515,8 +515,8 @@
# BUILD them all
################################################################################
build() {
+ export CC=gcc-13
export CFLAGS="${CFLAGS} -fPIC -Wno-error=incompatible-pointer-types"
export CXXFLAGS="${CXXFLAGS} -fPIC -Wno-error=incompatible-pointer-types -std=c++17"
if ((_phpbase <= 73)); then
export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration -fpermissive"
export CXXFLAGS="${CXXFLAGS} -Wno-implicit-function-declaration -fpermissive"
Pinned Comments
el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php74
is installed withphp74-cli
subpackage,php74
doesn't include it anymore!!!PEAR and PECL are available as
php74-pear
andphp74-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php74
package anymore.No more extensions in php.ini itself! Separate INI files for each extension are placed in
/etc/php74/conf.d
They are loaded in correct order according to priorityModules: mysqlnd, mysqli and pdo_mysql are moved to single package
php74-mysql
php74-xsl
requiresphp74-xml
andphp74-dom
to be installedphp74-enchant
build with dependencies:libvoikko
,hspell
,hunspell
,nuspell
,aspell