HomeFreeBSD

Mark BROKEN: fails to build

Description

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

Details

Provenance
antoineAuthored on
Parents
rP518012: audio/openal-soft: Drop workaround from r492771
Branches
Unknown
Tags
Unknown