[Pkg-clamav-devel] new clamav 0.98.5 beta1

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Aug 12 20:53:02 UTC 2014


Hi,

On 12.08.2014 21:57, Sebastian Andrzej Siewior wrote:
> The problem is
> 	http://www.cabextract.org.uk/libmspack/doc/mspack_8h.html#a3a94be2216dd1e835733acb7c4645fca
>
> clamav is compiled without LFS, libmspack is compiled _with_ LFS
> support. So off_t has different size.

Then the obvious fix is to add '-D_FILE_OFFSET_BITS=64' to CFLAGS.

This fixed the test failures on i386. Does this have any disadvantage?

It would probably be best to add a check to configure.ac testing what 
off_t size libmspack uses and adding this flag depending on the result.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list