Subject: Re: openmotif builds on 3.0 but not on -current
To: Steven M. Bellovin <>
From: David Brownlee <>
List: tech-pkg
Date: 01/08/2006 14:48:41
On Sun, 8 Jan 2006, Steven M. Bellovin wrote:

> 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.

 	OK, I'm pretty sure its the correct approach given
 	_POSIX_REENTRANT_FUNCTIONS being defined on NetBSD, I'm just not
 	certain that _POSIX_REENTRANT_FUNCTIONS should be defined :)

 		David/absolute       -- No hype required --