From b08def5156474bbd5a96cc5d2cb72e98f09f03a0 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:39:11 +0200 Subject: [PATCH] Fix GH-14563: Build failure with libxml2 v2.13.0 Remove xmlErrMemory from the export section for Windows, this fixes the build. Even though the original function was renamed [1] it is hidden, so removing this should be sufficient and not be a BC break. [1] https://github.com/GNOME/libxml2/commit/130436917c362d14f0eb3705a0edddc523a9640e Closes GH-14719. --- NEWS | 3 +++ ext/libxml/php_libxml2.def | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5623652830d..74b925bf113 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,9 @@ PHP NEWS - Dom: . Fixed bug GH-14702 (DOMDocument::xinclude() crash). (nielsdos) +- LibXML: + . Fixed bug GH-14563 (Build failure with libxml2 v2.13.0). (nielsdos) + - Phar: . Fixed bug GH-14603 (null string from zip entry). (David Carlier) diff --git a/ext/libxml/php_libxml2.def b/ext/libxml/php_libxml2.def index 5980df8bf88..06c05f188e8 100644 --- a/ext/libxml/php_libxml2.def +++ b/ext/libxml/php_libxml2.def @@ -345,7 +345,6 @@ xmlElemDump xmlEncodeEntities xmlEncodeEntitiesReentrant xmlEncodeSpecialChars -xmlErrMemory xmlFileClose xmlFileMatch xmlFileOpen