Subject: Re: openmotif builds on 3.0 but not on -current
To: David Brownlee <abs@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-pkg
Date: 01/08/2006 09:39:49
In message <Pine.NEB.4.63.0601081408370.734@localhost.>, David Brownlee writes:

> 	I've seen this also - are you using xorg? If so could you try
> 	the attached as	/usr/pkg/xorg/include/X11/Xos_r.h ? I've been
> 	test xorg-libs with it via a patch since yesterday.
>
> 	It looks like something is now defining _POSIX_REENTRANT_FUNCTIONS,
> 	which causes getpwnam_r() rather than getpwnam() to be used, which
> 	in NetBSD's case had the wrong prototype.
>

Yes, I do use xorg on my -current machines....  That patch indeed did 
the trick.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb