Package: pulseaudio Version: 0.9.8-1 Severity: important Tags: patch The current version of pulseaudio fails to build on GNU/kFreeBSD because it assumes a linux host is used. Please find a patch below to fix that.
--- pulseaudio-0.9.8.orig/src/pulsecore/rtpoll.c +++ pulseaudio-0.9.8/src/pulsecore/rtpoll.c @@ -161,9 +161,10 @@ p->installed = 1; #ifdef HAVE_PPOLL +# ifdef __linux__ if (p->dont_use_ppoll) return; - +# endif if ((p->rtsig = pa_rtsig_get_for_thread()) < 0) { pa_log_warn("Failed to reserve POSIX realtime signal."); return; only in patch2: unchanged: --- pulseaudio-0.9.8.orig/src/tests/rtpoll-test.c +++ pulseaudio-0.9.8/src/tests/rtpoll-test.c @@ -49,7 +49,9 @@ pa_rtpoll_item *i, *w; struct pollfd *pollfd; +#ifdef SIGRTMIN pa_rtsig_configure(SIGRTMIN+10, SIGRTMAX); +#endif p = pa_rtpoll_new(); -- System Information: Debian Release: lenny/sid Architecture: kfreebsd-i386 (i686) Kernel: kFreeBSD 6.2-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash _______________________________________________ Pkg-pulseaudio-devel mailing list Pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel