aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-03-06 18:05:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-03-06 18:05:40 +0000
commit3f621a2c156df3d4b39b81c2590405e30ab95b8d (patch)
treeb1e1fe19fdb29b40738b8e5f74171451d87ecb98
parent66ab4b0293bd604d4a2bf07b5e66eeabe0df5703 (diff)
downloadports-3f621a2c156df3d4b39b81c2590405e30ab95b8d.tar.gz
ports-3f621a2c156df3d4b39b81c2590405e30ab95b8d.zip
audio/carla: Fix build on 12
Reported by: fallout
-rw-r--r--audio/carla/files/patch-source_utils_CarlaPluginUI.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/carla/files/patch-source_utils_CarlaPluginUI.cpp b/audio/carla/files/patch-source_utils_CarlaPluginUI.cpp
new file mode 100644
index 000000000000..ed5dcda5d2a2
--- /dev/null
+++ b/audio/carla/files/patch-source_utils_CarlaPluginUI.cpp
@@ -0,0 +1,13 @@
+- fix build on 12, see https://github.com/falkTX/Carla/issues/1597
+
+--- source/utils/CarlaPluginUI.cpp.orig 2022-03-06 18:03:22 UTC
++++ source/utils/CarlaPluginUI.cpp
+@@ -40,6 +40,8 @@
+ # error CARLA_PLUGIN_UI_CLASS_PREFIX undefined
+ #endif
+
++#include <pthread.h>
++
+ // ---------------------------------------------------------------------------------------------------------------------
+ // X11
+