Bug#358708: libx11: hurd-i386 needs -lpthread for threads too
Package: libx11
Severity: important
Tags: experimental patch upstream
Hi,
In configure.ac, only linux and openbsd get a -lpthread option in
XTHREADLIB. hurd-i386 needs that too. Xbase-clients currently FTBFS
because of this. Please apply attached patch (and re-run autotools).
-- System Information:
Debian Release: unstable
APT prefers unstable
APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i386)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
--- configure.ac.orig 2006-03-24 02:07:09.000000000 +0000
+++ configure.ac 2006-03-24 02:07:21.000000000 +0000
@@ -157,7 +157,7 @@
dnl XXX incomplete, please fill this in
if test x$xthreads = xyes ; then
case $host_os in
- linux*|openbsd*)
+ linux*|openbsd*|gnu*)
XTHREADLIB=-lpthread ;;
freebsd*)
XTHREAD_CFLAGS="-D_THREAD_SAFE"
Reply to: