summaryrefslogtreecommitdiff
path: root/app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch')
-rw-r--r--app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch b/app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch
deleted file mode 100644
index 25ae94b9fb85..000000000000
--- a/app-antivirus/clamav/files/clamav-0.103.0-freshclam-db-test-fix.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/freshclam/freshclam.c b/freshclam/freshclam.c
-index 8db3b8001..8cde8c9a8 100644
---- a/freshclam/freshclam.c
-+++ b/freshclam/freshclam.c
-@@ -280,6 +280,14 @@ fc_error_t download_complete_callback(const char *dbFilename, void *context)
- goto done;
- }
- } else {
-+ /*
-+ * Attempt to test database in a child process.
-+ */
-+
-+ /* We need to be able to wait for the child process ourselves.
-+ * We'll re-enable wait in the global handler when we're done. */
-+ g_sigchildWait = 0;
-+
- switch (pid = fork()) {
- case -1: {
- /*
-@@ -391,6 +399,7 @@ done:
- logg("!Database test FAILED.\n");
- }
-
-+ /* Re-enable the global handler's child process wait */
- g_sigchildWait = 1;
-
- return status;