mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
4dd7300e5d
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-8.6.0/src/mapwcs.cpp:1973:18: error: cannot initialize a variable of type 'char **' with an rvalue of type 'CSLConstList' (aka 'const char *const *')
1973 | char **papszMD = GDALGetMetadata(hBand, NULL);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-8.6.0/src/mapwcs.cpp:2310:16: error: cannot initialize a variable of type 'char **' with an rvalue of type 'CSLConstList' (aka 'const char *const *')
2310 | char **papszMD = GDALGetMetadata(hDS, NULL);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-8.6.0/src/mapwcs.cpp:2337:18: error: cannot initialize a variable of type 'char **' with an rvalue of type 'CSLConstList' (aka 'const char *const *')
2337 | char **papszMD = GDALGetMetadata(hBand, NULL);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-8.6.0/src/mapstring.cpp:2518:27: error: use of undeclared identifier 'MAX'
2518 | size_t newAllocSize = MAX(newAllocSize1, newAllocSize2);
| ^
1 error generated.
Obtained from: https://github.com/MapServer/MapServer/commit/8c3543806f439f0ad6a22e0a7d59a0ab5d53125e
https://github.com/MapServer/MapServer/commit/fedd7fb31aab543685f6adc3c9b8cbf364c86ff4
Approved by: portmgr (blanket)