freebsd-ports/security/clamav
Dimitry Andric 0881e594ac security/clamav: fix build with lld 17
Building security/clamav with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'cli_cvdunpack' failed: symbol not defined
  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'cli_dbgmsg_internal' failed: symbol not defined
  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'init_domainlist' failed: symbol not defined
  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'init_whitelist' failed: symbol not defined
  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'cli_parse_add' failed: symbol not defined
  ld: error: version script assignment of 'CLAMAV_PRIVATE' to symbol 'cli_bytecode_context_clear' failed: symbol not defined
  cc: error: linker command failed with exit code 1 (use -v to see invocation)

Most of the mentioned symbols no longer exist anywhere in clamav's
source code, except 'cli_cvdunpack', but it is a static function so it
is not visible to external consumers. Remove all the undefined symbols
from the linker version script to fix the build.

PR:		274332
Approved by:	yasu (maintainer)
MFH:		2023Q4
2023-10-08 17:29:00 +02:00
..
files security/clamav: fix build with lld 17 2023-10-08 17:29:00 +02:00
distinfo security/clamav: Update to 1.2.0 2023-08-29 12:09:11 +09:00
Makefile security/{clamav,clamav-lts}: Fix build with non-default openssl setting 2023-09-12 20:54:14 +09:00
pkg-descr
pkg-plist security/clamav: Update to 1.2.0 2023-08-29 12:09:11 +09:00