[packages/php/PHP_7_4] Rel 10; libxml2 fix
arekm
arekm at pld-linux.org
Mon Jul 14 15:29:03 CEST 2025
commit 4c7124af28e61cfbb4e46acb7ea10cd4083ee104
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 15:28:57 2025 +0200
Rel 10; libxml2 fix
libxml2-2.12.patch | 17 +++++++++++++++++
php.spec | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index f2138f4..a459fa6 100644
--- a/php.spec
+++ b/php.spec
@@ -150,7 +150,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 7.4.33
-Release: 9
+Release: 10
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 f5e2f81..cffc642 100644
--- a/libxml2-2.12.patch
+++ b/libxml2-2.12.patch
@@ -62,3 +62,20 @@ index 749f5a5685ec2..b731114775ad7 100644
if (xmlErrorPtr) {
soap_error2(E_ERROR, "Parsing WSDL: Couldn't load from '%s' : %s", struri, xmlErrorPtr->message);
+diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
+index 6cdfbd397f7..dc5e7790952 100644
+--- a/ext/libxml/libxml.c
++++ b/ext/libxml/libxml.c
+@@ -430,8 +430,10 @@ php_libxml_input_buffer_create_filename(const char *URI, xmlCharEncoding enc)
+ static xmlOutputBufferPtr
+ php_libxml_output_buffer_create_filename(const char *URI,
+ xmlCharEncodingHandlerPtr encoder,
+- int compression ATTRIBUTE_UNUSED)
++ int compression)
+ {
++ php_ignore_value(compression);
++
+ xmlOutputBufferPtr ret;
+ xmlURIPtr puri;
+ void *context = NULL;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/4c7124af28e61cfbb4e46acb7ea10cd4083ee104
More information about the pld-cvs-commit
mailing list