[packages/php/PHP_7_2] Rel 18; libxml2 fix

arekm arekm at pld-linux.org
Mon Jul 14 16:00:34 CEST 2025


commit b61b53433b56fb407350993bfcad6424b0a7e94c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 16:00:25 2025 +0200

    Rel 18; 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 9805d83..a0c71a3 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.2.34
-Release:	17
+Release:	18
 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/b61b53433b56fb407350993bfcad6424b0a7e94c



More information about the pld-cvs-commit mailing list