Subject: pkg/17878: xmms-1.2.7 broken with pth-threads
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/08/2002 11:56:10
>Number:         17878
>Category:       pkg
>Synopsis:       xmms-1.2.7 broken with pth
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 08 01:57:00 PDT 2002
>Originator:     Jarkko Torppa
>Release:        NetBSD 1.6_BETA5 / xmms-1.2.7 package
System: NetBSD keppi 1.6_BETA5 NetBSD 1.6_BETA5 (KEPPI) #4: Tue Jul 30 10:38:16 EEST 2002 root@keppi:/usr/src/sys/arch/i386/compile/KEPPI i386
Architecture: i386
Machine: i386
when starting xmms it get's stuck after drawing it's window
build with pth and try to run.

needs _POSIX_THREAD_SYSCALL_SOFT defined or real threads

Index: Makefile
RCS file: /cvsroot/pkgsrc/audio/xmms/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile    2002/08/01 06:40:51     1.29
+++ Makefile    2002/08/08 08:42:40
@@ -20,6 +20,14 @@
 .include "../../mk/"
+PTHREAD_OPTS+=  require
+.include "../../mk/"
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
 .if (${OPSYS} == NetBSD)
 CONFIGURE_ARGS+=       --with-dev-dsp=/dev/sound