pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libxslt needs -D_REENTRANT



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)

Joerg



Home | Main Index | Thread Index | Old Index