Subject: pkg/20969: net/ORBit/patches/patch-an needs IOV_MAX defined
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/31/2003 15:43:35
>Number:         20969
>Category:       pkg
>Synopsis:       net/ORBit/patches/patch-an needs IOV_MAX defined
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 31 15:44:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
I had last built and install ORBit-0.5.15nb2 under Linux at the end of
November. Building it now fails:

giop-msg-buffer.c:213: `IOV_MAX' undeclared (first use in this function)

I see that the patch-an was changed for this in January.

>How-To-Repeat:
	
>Fix:
IOV_MAX is defined on my box in GLIBC's /usr/include/bits/stdio_lim.h.
#if defined __need_IOV_MAX && !defined IOV_MAX
# define IOV_MAX 1024 
#endif

Maybe __need_IOV_MAX needs to be defined?
(My workaround was to define IOV_MAX in patch-an.)
>Release-Note:
>Audit-Trail:
>Unformatted: