Compiles with smaller patches. Add -std=gnu17 to CFLAGS, not CXXFLAGS. Use this patch I posted for php56. No test failures. el_aur seems to be MIA, no fixes to php56 either.
diff -pNaru5 a/ext/libxml/libxml.c b/ext/libxml/libxml.c
--- a/ext/libxml/libxml.c 2025-06-05 00:56:42.896602580 -0400
+++ b/ext/libxml/libxml.c 2025-06-05 00:57:27.933510840 -0400
@@ -34,10 +34,11 @@
#include "ext/standard/info.h"
#include "ext/standard/file.h"
#if HAVE_LIBXML
+#include <ansidecl.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxml/uri.h>
#include <libxml/xmlerror.h>
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