The update to clamav-0.98.5 failed with clang but compiles with gcc48 (on FreeBSD-9.3-p5 amd64, but compiles also with clang on FreeBSD-10.1).
I suggest to turn off option LLVM by default. (without this option it works).
I posted it to the maintainer.
Code:
../libclamav/others.h:317: error: expected specifier-qualifier-list before 'clcb_file_props'
../libclamav/others.h:388: error: expected specifier-qualifier-list before 'clcb_file_props'
../shared/cdiff.c: In function 'cdiff_apply':
../shared/cdiff.c:781: error: 'EVP_MD_CTX' undeclared (first use in this function)
../shared/cdiff.c:781: error: (Each undeclared identifier is reported only once
../shared/cdiff.c:781: error: for each function it appears in.)
../shared/cdiff.c:781: error: 'sha256ctx' undeclared (first use in this function)
Makefile:685: recipe for target 'cdiff.o' failed
gmake[2]: *** [cdiff.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.98.5/freshclam'
Makefile:717: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/security/clamav/work/clamav-0.98.5'
Makefile:545: recipe for target 'all' failed
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
I suggest to turn off option LLVM by default. (without this option it works).
I posted it to the maintainer.