commit 08c47c435bbc377aa1f55ad3740ea1393df474b4
Author: Jan Palus <at...@pld-linux.org>
Date:   Sat Jan 25 14:13:32 2025 +0100

    add fix for libxml2 >= 2.9.8

 libxml2-2.12.patch => libxml2.patch | 11 +++++++++++
 php.spec                            |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index ec1b7f2..b804a8f 100644
--- a/php.spec
+++ b/php.spec
@@ -220,7 +220,7 @@ Patch74:    php-CVE-2019-11043.patch
 Patch75:       icu69.patch
 Patch76:       openssl.patch
 Patch77:       icu70.patch
-Patch78:       libxml2-2.12.patch
+Patch78:       libxml2.patch
 Patch79:       types.patch
 Patch80:       includes.patch
 Patch81:       configure.patch
diff --git a/libxml2-2.12.patch b/libxml2.patch
similarity index 84%
rename from libxml2-2.12.patch
rename to libxml2.patch
index f5e2f81..48b2505 100644
--- a/libxml2-2.12.patch
+++ b/libxml2.patch
@@ -62,3 +62,14 @@ index 749f5a5685ec2..b731114775ad7 100644
  
                if (xmlErrorPtr) {
                        soap_error2(E_ERROR, "Parsing WSDL: Couldn't load from 
'%s' : %s", struri, xmlErrorPtr->message);
+--- php-7.0.33/ext/dom/dom_iterators.c.orig    2018-12-04 18:22:49.000000000 
+0100
++++ php-7.0.33/ext/dom/dom_iterators.c 2025-01-25 12:49:14.486861211 +0100
+@@ -42,7 +42,7 @@
+       xmlNotation *notation;
+ };
+ 
+-static void itemHashScanner (void *payload, void *data, xmlChar *name) /* {{{ 
*/
++static void itemHashScanner (void *payload, void *data, const xmlChar *name) 
/* {{{ */
+ {
+       nodeIterator *priv = (nodeIterator *)data;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/08c47c435bbc377aa1f55ad3740ea1393df474b4

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to