[packages/php/PHP_7_3] Rel 19; Fix for symfony Error reading project file [wrapped: /usr/share/php/symfony/lib/plugins/sfPr
arekm
arekm at pld-linux.org
Mon Jun 8 10:13:17 CEST 2026
commit f5323ad62e34db500ba1a959f485dd1b25477d2e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jun 8 09:59:00 2026 +0200
Rel 19; 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-2.12.patch | 26 ++++++++++++++++++++++++++
php.spec | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 4ede80b..862875c 100644
--- a/php.spec
+++ b/php.spec
@@ -155,7 +155,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 7.3.33
-Release: 18
+Release: 19
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
diff --git a/libxml2-2.12.patch b/libxml2-2.12.patch
index cffc642..abaa448 100644
--- a/libxml2-2.12.patch
+++ b/libxml2-2.12.patch
@@ -79,3 +79,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/f5323ad62e34db500ba1a959f485dd1b25477d2e
More information about the pld-cvs-commit
mailing list