Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2021 19:33:10 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6893887275b7 - main - audio/carla: Compile fix for FreeBSD.
Message-ID:  <202111031933.1A3JXAdU064126@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111031933.1A3JXAdU064126>