package/xfont_font-cronyx-cyrillic: add hash file
[buildroot-gz.git] / package / clamav / 0001-clamdscan.patch
blobc395ae1600712e62883669989fbf62b1099633a5
1 Fixes build error
3 proto.c: In function ‘dconnect’:
4 proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
5 if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)
7 Patch sent upstream: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html
9 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
11 diff -uNr clamav-0.98.3.org/clamdscan/proto.c clamav-0.98.3/clamdscan/proto.c
12 --- clamav-0.98.3.org/clamdscan/proto.c 2014-05-06 20:39:56.000000000 +0200
13 +++ clamav-0.98.3/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