]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
clamav: add patch to fix build failure caused by lack of libcurl
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 7 May 2018 21:20:31 +0000 (23:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 May 2018 20:59:53 +0000 (22:59 +0200)
commit037572ee56ce7b18110eb45ddf507623cba726aa
tree692ef50d37eeab08dddad357efbe1e15bc0559ae
parenteb4b00129ccea673f48c8872ea0a6947f1f904e4
clamav: add patch to fix build failure caused by lack of libcurl

When json-c is enabled but libcurl is disabled, clamav tries to build
the clamsubmit program, which fails with:

  CC       clamsubmit.o
clamsubmit.c:6:23: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>

This is due to an incorrect curl-config detection logic, leading to
/bin/curl-config being present making the configure script believe
that curl is available, even when --without-libcurl is explicitly
passed.

This commit adds a patch, submitted upstream, which fixes this
problem.

Fixes:

  http://autobuild.buildroot.net/results/c43d2ebd8ab30016969d642dbd71c297dc5f6bab/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/clamav/0003-m4-reorganization-libs-curl.m4-fix-curl-config-detec.patch [new file with mode: 0644]
package/clamav/clamav.mk