Subject: Re: openmotif builds on 3.0 but not on -current
To: David Brownlee <abs@NetBSD.org>
From: Steven M. Bellovin <firstname.lastname@example.org>
Date: 01/08/2006 10:04:32
In message <Pine.NEB.4.63.0601081447580.734@localhost.>, David Brownlee writes:
>On Sun, 8 Jan 2006, Steven M. Bellovin wrote:
>> In message <Pine.NEB.4.63.0601081408370.734@localhost.>, David Brownlee writ
>>> 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 :)
Joerg sent me a patch which I'll try soon for openmotif itself. It's
not clear to me which is the proper approach to fixing this.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb