diff options
Diffstat (limited to 'recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch')
-rw-r--r-- | recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch b/recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch new file mode 100644 index 0000000..18ead72 --- /dev/null +++ b/recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Index: libclamav/readdb.c | ||
2 | =================================================================== | ||
3 | --- a/libclamav/readdb.c | ||
4 | +++ b/libclamav/readdb.c | ||
5 | @@ -4163,7 +4163,9 @@ static int cli_loadpwdb(FILE *fs, struct | ||
6 | |||
7 | /* use the tdb to track filetypes and check flevels */ | ||
8 | memset(&tdb, 0, sizeof(tdb)); | ||
9 | +#ifdef USE_MPOOL | ||
10 | tdb.mempool = engine->mempool; | ||
11 | +#endif | ||
12 | ret = init_tdb(&tdb, engine, attribs, passname); | ||
13 | free(attribs); | ||
14 | if(ret != CL_SUCCESS) { | ||