Package: d4x
Severity: important
Tags: patch

Hi,

d4x fails to build on GNU/kFreeBSD due to missing support. 
Please find attached a patch to fix that. Could you please add it in
the next upload?

Don't hesitate to contact me if you need more information.

Thanks in advance,
Aurelien




-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

--- d4x-2.5.5.orig/main/signal.cc
+++ d4x-2.5.5/main/signal.cc
@@ -110,7 +110,7 @@
 
 
 void my_pthreads_mutex_init(pthread_mutex_t *lock){
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GLIBC__)
 /* manual page for mutexes said that mutexes in linux is fast by
    default...
  */

Reply via email to