pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/x11/libX11



On Sun, Sep 18, 2011 at 11:55:22AM +0000, Benny Siegert wrote:
> Module Name:  pkgsrc
> Committed By: bsiegert
> Date:         Sun Sep 18 11:55:22 UTC 2011
> 
> Modified Files:
>       pkgsrc/x11/libX11: Makefile
> 
> Log Message:
> Add -pthread on MirBSD, fixes build of dependent packages like libXpm.
> 
> I think that patch-aa is incorrect, at least on MirBSD. It supposes that
> pthread_self is already in libc. However, I won't touch the patches
> during the freeze.

So far that it was a pretty safe assumption. All systems pkgsrc
supported so far had a more or less non-broken thread implementation.
This included basic thread fallback functions in libc. I strongly
suggest you actually adopt lib/libc/thread-stub for MirBSD. The goal
here is to avoid thread overhead when a program is not actually going to
create threads without requiring libraries to change the ABI.

Alternatively, there is a separate package with stub locking functions
that libX11 could depend on for MirBSD. Like I said, noone needed that
so far.

Joerg



Home | Main Index | Thread Index | Old Index