mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
88b20c8adc
/wrkdirs/usr/ports/graphics/mapcache/work/mapcache-1.14.1/lib/source_gdal.c:350:31: warning: call to undeclared function 'MIN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
350 | double dfDesiredRes = MIN( dfDesiredXRes, dfDesiredYRes );
| ^
1 warning generated.
...
: && /usr/local/libexec/ccache/cc -O2 -pipe -std=c99 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Werror=declaration-after-statement -Wno-comment -O2 -pipe -std=c99 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=cgi/CMakeFiles/mapcache.fcgi.dir/link.d cgi/CMakeFiles/mapcache.fcgi.dir/mapcache.c.o -o cgi/mapcache.fcgi -Wl,-rpath,/wrkdirs/usr/ports/graphics/mapcache/work/.build:/usr/local/lib: libmapcache.so.1.14.1 /usr/local/lib/libfcgi.so /usr/local/lib/libpng.so /usr/lib/libz.so /usr/local/lib/libjpeg.so /usr/local/lib/libcurl.so /usr/local/lib/libapr-1.so /usr/local/lib/libaprutil-1.so /usr/local/lib/libpixman-1.so /usr/local/lib/libgdal.so /usr/local/lib/libsqlite3.so -lm && :
ld: error: undefined reference: MIN
>>> referenced by libmapcache.so.1.14.1 (disallowed by --no-allow-shlib-undefined)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Obtained from: https://github.com/MapServer/mapcache/commit/0948ea28df9ef5dae8705196b32f0742268953cf
Approved by: portmgr (blanket)