summaryrefslogtreecommitdiffstats
path: root/recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch')
-rw-r--r--recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch b/recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch
deleted file mode 100644
index 2effdeb..0000000
--- a/recipes-security/clamav/clamav-0.98.5/clamav-0001-clamdscan.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1Fixes build error
2
3proto.c: In function 'dconnect':
4proto.c:86:67: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_un'
5if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)
6
7Patch sent upstream: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html
8
9Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10
11diff -uNr a/clamdscan/proto.c b/clamdscan/proto.c
12--- a/clamdscan/proto.c 2014-05-06 20:39:56.000000000 +0200
13+++ b/clamdscan/proto.c 2014-05-10 10:41:44.000000000 +0200
14@@ -35,6 +35,7 @@
15 #include <sys/stat.h>
16 #include <fcntl.h>
17 #include <sys/types.h>
18+#include <sys/un.h>
19 #ifdef HAVE_SYS_SELECT_H
20 #include <sys/select.h>
21 #endif