Bug#637019: gamin: Fix FTBFS on hurd-i386

Svante Signell svante.signell at telia.com
Sun Aug 7 20:32:44 UTC 2011


Package: gamin
Version: 0.1.10-2
Severity: important
Tags: patch
User: debian-hurd at 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);










More information about the pkg-gnome-maintainers mailing list