pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: pkg/31409



The following reply was made to PR pkg/31409; it has been noted by GNATS.

From: Carl Brewer <carl%bl.echidna.id.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: re: pkg/31409
Date: Tue, 11 Oct 2005 11:07:50 +1000

 I found the problem.  The compiler on 1.6.2 doesn't like this (line 3444
 of clamav-milter.c)
 
 clamd_recv(int sock, char *buf, size_t len)
 {
          fd_set rfds;
          struct timeval tv;
 
          assert(sock >= 0);
          int ret;
 
 
 
 
 It seems to want ret to be declared before the assert for
 sock is done.
 
 If I hack that file and shift int ret; to be before the assert,
 it compiles ok and seems to work fine.
 
 Can this be added to a patch for the code etc?  I'm going to
 submit it as a bug to the clamav authors too, but in the
 meantime...
 
 



Home | Main Index | Thread Index | Old Index