X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fclamav%2F0004-fix-static-build.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fclamav%2F0004-fix-static-build.patch;h=9c7850a6e9b0b393515f0c408beb25ff1bb175c3;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/clamav/0004-fix-static-build.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/clamav/0004-fix-static-build.patch new file mode 100644 index 0000000..9c7850a --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/clamav/0004-fix-static-build.patch @@ -0,0 +1,21 @@ +stats: fix static link + +The stats.c file does not use the dlopen() familly of functions, but +includes dlfcn.h, which is missing on uClibc when it is configured as +a static-only C library. + +so, simply do not include dlfcn.h. + +Signed-off-by: "Yann E. MORIN" + +diff -durN clamav-0.98.5.orig/libclamav/stats.c clamav-0.98.5/libclamav/stats.c +--- clamav-0.98.5.orig/libclamav/stats.c 2014-11-13 23:30:43.000000000 +0100 ++++ clamav-0.98.5/libclamav/stats.c 2014-11-25 19:57:14.344291266 +0100 +@@ -41,7 +41,6 @@ + #include + #endif + #endif +-#include + #else + #include + #include