DragonFly bugs List (threaded) for 2010-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: pulseaudio build
Chris Turner wrote:
you can ifdef out this portion within pulseaudio..
Broken patch attached - Couldn't quite figgure out the correct
preprocessor macros to make this 'clean' - my actual build
used '#ifdef notyet' like some other things in main.c
In any event, we now have a 'mlockall' on head -
so probably need to see if this is even necessary
moving forward before trying to get it upstream,
unless anyone wants to get fancy with their 'ifdef's
and make it version specific
--- src/daemon/main.c.orig 2010-06-15 09:20:39 +0000
+++ src/daemon/main.c 2010-06-15 09:22:09 +0000
@@ -865,7 +865,7 @@
pa_log_info(_("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!"));
if (conf->lock_memory) {
-#ifdef HAVE_SYS_MMAN_H
+#ifdef HAVE_SYS_MMAN_H && !defined(__DragonFly__)
if (mlockall(MCL_FUTURE) < 0)
pa_log_warn("mlockall() failed: %s", pa_cstrerror(errno));
else
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]