[packages/php/PHP_5_6] Rel 32; libxml2 build fix

arekm arekm at pld-linux.org
Mon Jul 14 12:16:19 CEST 2025


commit 3301e600faa3a1117e168351ad9d3da0c0d4e41b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 12:16:09 2025 +0200

    Rel 32; libxml2 build fix

 libxml2.patch | 17 +++++++++++++++++
 php.spec      |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index ebcc3e2..3d80b0b 100644
--- a/php.spec
+++ b/php.spec
@@ -155,7 +155,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine	with_filter
 %endif
 
-%define		rel	31
+%define		rel	32
 %define		orgname	php
 %define		ver_suffix 56
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/libxml2.patch b/libxml2.patch
index a3e71ba..b339523 100644
--- a/libxml2.patch
+++ b/libxml2.patch
@@ -73,3 +73,20 @@ index 749f5a5685ec2..b731114775ad7 100644
  {
  	nodeIterator *priv = (nodeIterator *)data;
  
+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/3301e600faa3a1117e168351ad9d3da0c0d4e41b



More information about the pld-cvs-commit mailing list