Subject: Re: libxslt needs -D_REENTRANT
To: None <>
From: Joerg Sonnenberger <>
List: pkgsrc-users
Date: 01/25/2007 15:43:55
On Wed, Jan 24, 2007 at 05:38:23PM -0500, Blair Sadewitz wrote:
> If you look at ${WRKSRC}/libexslt/date.c, you will see the problem.
> It looks for localtime_r via #ifdef _HAS_LOCALTIME_R (or something
> like that).
> Then, if it has it, it defines _POSIX_SOURCE (not POSIX_C_SOURCE, and
> not with any version number).

So either (a) kill the the _POSIX_SOURCE or (b) set _POSIX_C_SOURCE with
an appropiate year. Both solves the problem on other systems as well.
My personal preference is the former and only keep it for platforms
which actually need it (Sucklaris)