Package: libio-aio-perl
Version: 2.4-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on kfreebsd-i386.

It needs a small tweak, see bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr

--- xthread.h
+++ xthread.h
@@ -83,7 +83,7 @@
 #include <pthread.h>

 typedef pthread_mutex_t mutex_t;
-#if __linux && defined (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP)
+#if defined (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP)
 # define X_MUTEX_INIT PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
 #else
 # define X_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to