Files
termux-packages/packages/php/ext-soap-php_sdl.c.patch
termux-pacman-bot 0bbc8bafc8 php: fix build with libxml 2.12
[skip ci]
2023-12-24 13:01:28 +00:00

15 lines
484 B
Diff

https://github.com/termux/termux-packages/issues/18803
https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
--- a/ext/soap/php_sdl.c
+++ b/ext/soap/php_sdl.c
@@ -331,7 +331,7 @@
sdl_restore_uri_credentials(ctx);
if (!wsdl) {
- xmlErrorPtr xmlErrorPtr = xmlGetLastError();
+ const xmlError *xmlErrorPtr = xmlGetLastError();
if (xmlErrorPtr) {
soap_error2(E_ERROR, "Parsing WSDL: Couldn't load from '%s' : %s", struri, xmlErrorPtr->message);