Hi,

On Wed, Nov 29, 2006 at 08:37:38PM +0100, Petr Salinger wrote:
> unfortunately, gamin still does not build on GNU/kFreeBSD.

Sorry :-/

> Surprisingly, the current reason is just addded hurd patch.
> Please, could you alter it as shown bellow.
> 
> Thanks in advance
> 
>                       Petr
> 
> diff -u gamin-0.1.8/debian/patches/13_hurd.patch 
> gamin-0.1.8/debian/patches/13_hurd.patch
> --- gamin-0.1.8/debian/patches/13_hurd.patch
> +++ gamin-0.1.8/debian/patches/13_hurd.patch
> @@ -10,7 +10,7 @@
>       if (is_threaded > 0) {
>         pthread_mutexattr_init(&attr);
>  -#ifdef __GLIBC__
> -+#if defined(linux) || defined(PTHREAD_MUTEX_RECURSIVE_NP)
> ++#if defined(__GLIBC__) && !defined(__GNU__)
>         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
>   #else
>         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);

Why doesn't the || defined(PTHREAD_MUTEX_RECURSIVE_NP) work on
GNU/kFreeBSD?


Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to