Subject: Re: pkg/35197: benchmarks/httperf upgrade
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Curt Sampson <cjs@cynic.net>
List: pkgsrc-bugs
Date: 12/07/2006 05:10:05
The following reply was made to PR pkg/35197; it has been noted by GNATS.

From: Curt Sampson <cjs@cynic.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35197: benchmarks/httperf upgrade
Date: Thu, 7 Dec 2006 14:07:23 +0900 (JST)

 BTW, for this you'll probably want the following patches:
 
 lib/ssl_writeev.c:
      #include <stdlib.h> instead of <alloca.h>.
 
 core.c:
      #include <sys/select.h>
      #include <strings.h>
      do_send(): change len from int to socklen_t.
 
 However, even with this, I still get this error:
 
 core.c:1111: error: 'fd_mask' undeclared (first use in this function)
 core.c:1111: error: (Each undeclared identifier is reported only once
 core.c:1111: error: for each function it appears in.)
 core.c:1111: error: expected ';' before 'mask'
 core.c:1123: error: 'NFDBITS' undeclared (first use in this function)
 
 I have no idea why, since fd_mask and NFDBITS should be defined by
 sys/fd_set.h, which is included by sys/select.h.