SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
audio/fluidsynth/patches/patch-src_utils_fluid_sys_c
Normal file
14
audio/fluidsynth/patches/patch-src_utils_fluid_sys_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: src/utils/fluid_sys.c
|
||||
--- src/utils/fluid_sys.c.orig
|
||||
+++ src/utils/fluid_sys.c
|
||||
@@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue