openbsd-ports/audio/fluidsynth/patches/patch-src_utils_fluid_sys_c
sthen f0c28ec4fd - update to FluidSynth 1.1.6
- disable jack dependency, it doesn't work (noticed by Jan Stary)

- add a note explaining that you need a soundfount and point people
at the generaluser-gs-soundfont package
2013-03-29 12:37:43 +00:00

15 lines
545 B
Plaintext

$OpenBSD: patch-src_utils_fluid_sys_c,v 1.1 2013/03/29 12:37:43 sthen Exp $
--- src/utils/fluid_sys.c.orig Thu Aug 16 05:01:13 2012
+++ src/utils/fluid_sys.c Mon Mar 25 00:20:40 2013
@@ -429,8 +429,10 @@ fluid_thread_self_set_prio (int prio_level)
memset(&priority, 0, sizeof(priority));
priority.sched_priority = prio_level;
+// #if !defined(__OpenBSD__)
if (pthread_setschedparam (pthread_self (), SCHED_FIFO, &priority) == 0) {
return;
+// #endif
}
#ifdef DBUS_SUPPORT
/* Try to gain high priority via rtkit */