MFH: r518013

Mark BROKEN: fails to build

clamav_mod.c:108:13: error: expected identifier or '('
static char CLAMAV_VERSION[CLAMAV_VERSION_SIZE];
            ^
/usr/local/include/clamav-version.h:30:24: note: expanded from macro 'CLAMAV_VERSION'
#define CLAMAV_VERSION "0.102.0"
                       ^
clamav_mod.c:645:6: warning: array index 63 is past the end of the array (which contains 8 elements) [-Warray-bounds]
     CLAMAV_VERSION[CLAMAV_VERSION_SIZE - 1] = '\0';
     ^              ~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/clamav-version.h:30:24: note: expanded from macro 'CLAMAV_VERSION'
#define CLAMAV_VERSION "0.102.0"
                       ^

Reported by:	pkg-fallout
This commit is contained in:
Antoine Brodin 2019-11-30 17:43:06 +00:00
parent 966fe113e6
commit f854b15285
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=518722
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ COMMENT= Modules for c-icap: virus_scan and srv_url_check
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= fails to build
LIB_DEPENDS= libicapapi.so:www/c-icap \
libclamav.so:security/clamav