Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 557228 Details for
Bug 672668
app-antivirus/skyldav-0.7 with app-antivirus/clamav-0.101.0 - fails to build because of header mismatch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for skyldav-0.7 to build with clamav-0.101.0
skyldav-clamav-0.101.0.patch (text/plain), 1010 bytes, created by
Denis Kaganovich
on 2018-12-07 03:06:54 UTC
(
hide
)
Description:
patch for skyldav-0.7 to build with clamav-0.101.0
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2018-12-07 03:06:54 UTC
Size:
1010 bytes
patch
obsolete
>--- a/cltypes.h 1970-01-01 03:00:00.000000000 +0300 >+++ b/cltypes.h 2018-12-07 05:41:27.131210350 +0300 >@@ -0,0 +1 @@ >+/* around clamav-0.101.0 */ >--- a/src/skyldav/VirusScan.cc 2016-06-12 19:39:51.000000000 +0300 >+++ b/src/skyldav/VirusScan.cc 2018-12-07 05:37:28.588359586 +0300 >@@ -236,6 +236,13 @@ void VirusScan::releaseEngine() { > pthread_mutex_unlock(&mutexEngine); > } > >+#ifndef CL_SCAN_STDOPT >+const struct cl_scan_options options = { >+.general = CL_SCAN_GENERAL_ALLMATCHES, >+.parse = ~0 >+}; >+#endif >+ > /** > * @brief Scans file for virus. > * >@@ -244,9 +251,13 @@ void VirusScan::releaseEngine() { > int VirusScan::scan(const int fd) { > int success = SCANOK; > int ret; >- const char *virname; >+ const char *virname = NULL; > >+#ifdef CL_SCAN_STDOPT > ret = cl_scandesc(fd, &virname, NULL, getEngine(), CL_SCAN_STDOPT); >+#else >+ ret = cl_scandesc(fd, NULL, &virname, NULL, getEngine(), &options); >+#endif > switch (ret) { > case CL_CLEAN: > success = SCANOK;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 672668
: 557228