[packages/php/PHP_7_3] Rel 13; libxml2 fix

arekm arekm at pld-linux.org
Mon Jul 14 15:41:09 CEST 2025


commit fa4168b47669a91d01a01d7835bf0eb860a853ec
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 15:41:05 2025 +0200

    Rel 13; 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 f922f61..573841b 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:	12
+Release:	13
 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/fa4168b47669a91d01a01d7835bf0eb860a853ec



More information about the pld-cvs-commit mailing list