[Pkg-clamav-devel] build clamav with system LLVM
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Wed May 7 13:21:16 UTC 2014
Hi Scott,
On 06.05.2014 23:47, Scott Kitterman wrote:
> On May 6, 2014 3:17:01 PM EDT, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>> I have installed Debian/kfreebsd-amd64 (jessie) in a VirtualBox.
>> Then I built clamav with the following change on top of the aca_llvm
>> branch:
>> --- a/libclamav/c++/configure.ac
>> +++ b/libclamav/c++/configure.ac
>> @@ -141,7 +141,7 @@ if test "$enable_llvm" = "auto"; then
>> case "$target_cpu" in
>> i?86|amd64|x86_64|powerpc*)
>> case "$target_os" in
>> -
>> darwin*|freebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
>> +
>> darwin*|freebsd*|kfreebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
>> AC_MSG_RESULT([ok ($target_cpu-$target_os)])
>> ;;
>> *)
>>
>> It built successfully, so I think this can be enabled.
>>
>> What do you think about merging aca_llvm to unstable now?
>>
>> It would probably make sense to upload these changes together with the
>> new upstream version 0.98.2.
>
> Agreed.
>
> Make sure to adjust debian rules and control.
I enabled this, adjusted debian/rules and debian/control and merged the
result into unstable.
After that I tried to fix building on hurd by
* disabling faketime there, because it segfaults.
* using __GNU__ instead of __hurd__ to blacklist STAT64.
I didn't try this, but it should fix building on hurd.
Best regards,
Andreas
More information about the Pkg-clamav-devel
mailing list