git: 6893887275b7 - main - audio/carla: Compile fix for FreeBSD.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Wed, 03 Nov 2021 19:33:10 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6893887275b701363efe33a92dc22ea76447927f

commit 6893887275b701363efe33a92dc22ea76447927f
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-11-03 18:20:45 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-11-03 19:32:44 +0000

    audio/carla: Compile fix for FreeBSD.
    
    CarlaPluginUI.cpp:55:38: error: use of undeclared identifier 'PTHREAD_MUTEX_INITIALIZER'
    
    Approved by:    yuri
---
 audio/carla/files/patch-source_utils_CarlaPluginUI.cpp | 10 ++++++++++
 1 file changed, 10 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..10415d82633f
--- /dev/null
+++ b/audio/carla/files/patch-source_utils_CarlaPluginUI.cpp
@@ -0,0 +1,10 @@
+--- source/utils/CarlaPluginUI.cpp.orig	2021-11-03 18:15:18 UTC
++++ source/utils/CarlaPluginUI.cpp
+@@ -19,6 +19,7 @@
+ #include "CarlaPluginUI.hpp"
+ 
+ #ifdef HAVE_X11
++# include <pthread.h>
+ # include <sys/types.h>
+ # include <X11/Xatom.h>
+ # include <X11/Xlib.h>