[packages/php/PHP_7_1] Rel 19; libxml2 fix
arekm
arekm at pld-linux.org
Mon Jul 14 16:10:27 CEST 2025
commit 3683e9c0ef5114b1c748b7ebc273040e4a3fa201
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 16:10:22 2025 +0200
Rel 19; 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 080af26..f07008e 100644
--- a/php.spec
+++ b/php.spec
@@ -151,7 +151,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 7.1.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 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/3683e9c0ef5114b1c748b7ebc273040e4a3fa201
More information about the pld-cvs-commit
mailing list