Blame view

buildroot/buildroot-2016.08.1/package/clamav/0001-clamdscan.patch 776 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  Fixes build error
  
  proto.c: In function ‘dconnect’:
  proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’
               if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)
  
  Patch sent upstream: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html
  
  Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  
  diff -uNr clamav-0.98.3.org/clamdscan/proto.c clamav-0.98.3/clamdscan/proto.c
  --- clamav-0.98.3.org/clamdscan/proto.c	2014-05-06 20:39:56.000000000 +0200
  +++ clamav-0.98.3/clamdscan/proto.c	2014-05-10 10:41:44.000000000 +0200
  @@ -35,6 +35,7 @@
   #include <sys/stat.h>
   #include <fcntl.h>
   #include <sys/types.h>
  +#include <sys/un.h>
   #ifdef HAVE_SYS_SELECT_H
   #include <sys/select.h>
   #endif