[packages/php/PHP_5_6] Rel 35; Fix for symfony Error reading project file [wrapped: /usr/share/php/symfony/lib/plugins/sfPr
arekm
arekm at pld-linux.org
Tue Oct 21 13:34:30 CEST 2025
commit 0b7d4f7e0d1648153f6da061e0943219e5b3e4cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 21 13:34:18 2025 +0200
Rel 35; Fix for symfony Error reading project file [wrapped: /usr/share/php/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build.xml:72:22: Unexpected text '>']
libxml2.patch | 26 ++++++++++++++++++++++++++
php.spec | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 20070cf..f0739c5 100644
--- a/php.spec
+++ b/php.spec
@@ -155,7 +155,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
%undefine with_filter
%endif
-%define rel 34
+%define rel 35
%define orgname php
%define ver_suffix 56
%define php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/libxml2.patch b/libxml2.patch
index b339523..be63e1e 100644
--- a/libxml2.patch
+++ b/libxml2.patch
@@ -90,3 +90,29 @@ index 6cdfbd397f7..dc5e7790952 100644
xmlURIPtr puri;
void *context = NULL;
+commit 67259e451d5d58b4842776c5696a66d74e157609
+Author: Niels Dossche <7771979+nielsdos at users.noreply.github.com>
+Date: Fri Jul 5 23:34:09 2024 +0200
+
+ Fix GH-14834: Error installing PHP when --with-pear is used
+
+ libxml2 2.13 makes changes to how the parsing state is set, update our
+ code accordingly. In particular, it started reporting entities within
+ attributes, while it should only report entities inside text nodes.
+
+ Closes GH-14837.
+
+diff --git a/ext/xml/compat.c b/ext/xml/compat.c
+index 242cc4ba7c4..5f55dc62b36 100644
+--- a/ext/xml/compat.c
++++ b/ext/xml/compat.c
+@@ -375,7 +375,7 @@ _get_entity(void *user, const xmlChar *name)
+ if (ret == NULL)
+ ret = xmlGetDocEntity(parser->parser->myDoc, name);
+
+- if (ret == NULL || (parser->parser->instate != XML_PARSER_ENTITY_VALUE && parser->parser->instate != XML_PARSER_ATTRIBUTE_VALUE)) {
++ if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) {
+ if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) {
+ /* Predefined entities will expand unless no cdata handler is present */
+ if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/0b7d4f7e0d1648153f6da061e0943219e5b3e4cf
More information about the pld-cvs-commit
mailing list