commit 4429cbf76a423cac55ffd08ef3f7b12ace223877
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 e2261cf..f637770 100644
--- a/php.spec
+++ b/php.spec
@@ -247,7 +247,7 @@ Patch73:    php-pdo-ssl.patch
 Patch74:       php-icu64.patch
 Patch75:       icu69.patch
 Patch76:       icu70.patch
-Patch77:       libxml2-2.12.patch
+Patch77:       libxml2.patch
 Patch78:       configure.patch
 Patch79:       types.patch
 Patch80:       includes.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 405b501..a3e71ba 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/63190b085150bb79f9e681060b20f959d11f556d

_______________________________________________
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