[packages/php/PHP_8_0] Rel 10; libxml2 build fix
arekm
arekm at pld-linux.org
Mon Jul 14 20:55:05 CEST 2025
commit bb4ab4ef0dc670bffba70c92423892c7bb14caf1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 20:54:58 2025 +0200
Rel 10; libxml2 build 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 a62e09d..61fe2ff 100644
--- a/php.spec
+++ b/php.spec
@@ -148,7 +148,7 @@ Summary(ru.UTF-8): PHP - язык препроцессирования HTML-фа
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 8.0.28
-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 af97930..a5a9cb8 100644
--- a/libxml2-2.12.patch
+++ b/libxml2-2.12.patch
@@ -64,3 +64,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/bb4ab4ef0dc670bffba70c92423892c7bb14caf1
More information about the pld-cvs-commit
mailing list