Package: gamin / 0.1.10-5

15_kfreebsd.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix build failure on GNU/kFreeBSD
Bug: http://bugzilla.gnome.org/show_bug.cgi?id=588337
Bug-Debian: http://bugs.debian.org/434141

diff -Naur gamin-0.1.9/libgamin/gam_data.c gamin-0.1.9.new/libgamin/gam_data.c
--- gamin-0.1.9/libgamin/gam_data.c	2007-07-04 15:36:48.000000000 +0200
+++ gamin-0.1.9.new/libgamin/gam_data.c	2007-10-07 13:41:58.000000000 +0200
@@ -470,7 +470,7 @@
     }
     if (is_threaded > 0) {
 	pthread_mutexattr_init(&attr);
-#if defined(linux) || defined(PTHREAD_MUTEX_RECURSIVE_NP)
+#if defined(__GLIBC__)
 	pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
 #else
 	pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);