git: 3f621a2c156d - main - audio/carla: Fix build on 12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Mar 2022 18:05:42 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3f621a2c156df3d4b39b81c2590405e30ab95b8d
commit 3f621a2c156df3d4b39b81c2590405e30ab95b8d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-06 18:05:08 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-06 18:05:40 +0000
audio/carla: Fix build on 12
Reported by: fallout
---
audio/carla/files/patch-source_utils_CarlaPluginUI.cpp | 13 +++++++++++++
1 file changed, 13 insertions(+)
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
+