Looks like a problem with the 'gets' macro?
...
--- libclamav_internal_utils_nothreads_la-regcomp.lo ---
*** [libclamav_internal_utils_nothreads_la-regcomp.lo] Error code 1
make[4]: stopped in
/tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
--- libclamav_internal_utils_nothreads_la-regerror.lo ---
In file included from ./filetypes.h:29:0,
from ./matcher.h:28,
from ./others.h:22,
from regex/regerror.c:46:
./fmap.h: In function 'fmap_gets':
./fmap.h:159:39: error: macro "gets" passed 4 arguments, but takes just 1
return m->gets(m, dst, at, max_len);
^
*** [libclamav_internal_utils_nothreads_la-regerror.lo] Error code 1
make[4]: stopped in
/tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
--- libclamav_internal_utils_nothreads_la-regexec.lo ---
In file included from ./filetypes.h:29:0,
from ./matcher.h:28,
from ./others.h:22,
from regex/regexec.c:53:
./fmap.h: In function 'fmap_gets':
./fmap.h:159:39: error: macro "gets" passed 4 arguments, but takes just 1
return m->gets(m, dst, at, max_len);
^
*** [libclamav_internal_utils_nothreads_la-regexec.lo] Error code 1
make[4]: stopped in
/tmp/pkgs/security/clamav/work.x86_64/clamav-0.99.2/libclamav
7 errors