Subject: Re: libxslt needs -D_REENTRANT
To: None <pkgsrc-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-users
Date: 01/23/2007 12:10:28
On Mon, Jan 22, 2007 at 03:38:32AM -0500, Blair Sadewitz wrote:
> localtime_r is reported as implicitly defined in libexslt/date.c.  The
> libxslt headers do pull in the function declaration unless
> -D_REENTRANT is defined (I figure this was the least intrusive
> option).

That's not the correct fix. The correct is to use the appropriate option
for the C compile e.g "-pthread" or "-mt".

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/