Package: gamin Version: 0.1.10-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently gamin does not compile on hurd-i386. The problem is the definition of PTHREAD_MUTEX_RECURSIVE. The inlined patch fixes this issue. The patch should be applied after 15_kfreebsd.patch. In fact, editing that patch by removing the second part: && !defined(__GNU__) fixes the build on hurd-i386. --- libgamin/gam_data.c.orig 2011-08-07 20:11:57.000000000 +0000 +++ libgamin/gam_data.c 2011-08-07 20:08:28.000000000 +0000 @@ -470,7 +470,7 @@ } if (is_threaded > 0) { pthread_mutexattr_init(&attr); -#if defined(__GLIBC__) && !defined(__GNU__) +#if defined(__GLIBC__) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); #else pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org