Files
macports-ports/lang/php/files/patch-php70-ext-soap.diff
2024-06-13 15:01:14 -05:00

14 lines
534 B
Diff

Fix libxml2 2.12.x build issues.
https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
--- ext/soap/php_sdl.c.orig 2020-09-30 00:15:54.000000000 -0500
+++ ext/soap/php_sdl.c 2024-05-19 15:04:04.000000000 -0500
@@ -330,7 +330,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);