Bug#342540: gamin: FTBFS on GNU/kFreeBSD
Petr Salinger
Petr.Salinger at t-systems.cz
Thu Dec 8 12:40:36 UTC 2005
Package: gamin
Severity: important
Version: 0.1.7-2
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
Please find a small patch bellow.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
--- libgamin/gam_data.c~ 2005-12-08 13:18:04.000000000 +0100
+++ libgamin/gam_data.c 2005-12-08 13:18:04.000000000 +0100
@@ -29,7 +29,7 @@
* libraries.
*/
#ifdef __GNUC__
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
extern int pthread_mutexattr_init(pthread_mutexattr_t *attr)
__attribute((weak));
More information about the Pkg-gnome-maintainers
mailing list