[oe-commits] [meta-openembedded] 09/10: jack: Fix build when using libc++

git at git.openembedded.org git at git.openembedded.org
Wed Jan 30 05:40:30 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit c4d94787ce28d5f2c2c015785eaefb8f1c359c39
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Jan 29 16:14:44 2019 -0800

    jack: Fix build when using libc++
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../jack/jack/0001-Fix-OSX-build.patch             | 27 ++++++++++++++++++++++
 meta-oe/recipes-multimedia/jack/jack_git.bb        |  1 +
 2 files changed, 28 insertions(+)

diff --git a/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch b/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch
new file mode 100644
index 0000000..d9a3ab7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch
@@ -0,0 +1,27 @@
+From dd65685c24bb25a800ed42388ed0a1e8792b2ed2 Mon Sep 17 00:00:00 2001
+From: falkTX <falktx at gmail.com>
+Date: Sat, 24 Nov 2018 14:29:58 +0100
+Subject: [PATCH] Fix OSX build
+
+Signed-off-by: Khem Raj <raj.khem at gmail.com>
+Upstream-Status: Backport [https://github.com/jackaudio/jack2/commit/d851fada460d42508a6f82b19867f63853062583]
+---
+ posix/JackNetUnixSocket.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/posix/JackNetUnixSocket.cpp b/posix/JackNetUnixSocket.cpp
+index 7a5585ef..a4cb5036 100644
+--- a/posix/JackNetUnixSocket.cpp
++++ b/posix/JackNetUnixSocket.cpp
+@@ -169,7 +169,7 @@ namespace Jack
+ 
+     int JackNetUnixSocket::Bind()
+     {
+-        return bind(fSockfd, reinterpret_cast<socket_address_t*>(&fRecvAddr), sizeof(socket_address_t));
++        return ::bind(fSockfd, reinterpret_cast<socket_address_t*>(&fRecvAddr), sizeof(socket_address_t));
+     }
+ 
+     int JackNetUnixSocket::BindWith(const char* ip)
+-- 
+2.20.1
+
diff --git a/meta-oe/recipes-multimedia/jack/jack_git.bb b/meta-oe/recipes-multimedia/jack/jack_git.bb
index 52559cb..99bf2e3 100644
--- a/meta-oe/recipes-multimedia/jack/jack_git.bb
+++ b/meta-oe/recipes-multimedia/jack/jack_git.bb
@@ -16,6 +16,7 @@ DEPENDS = "libsamplerate0 libsndfile1 readline"
 
 SRC_URI = "git://github.com/jackaudio/jack2.git \
            file://0001-Python-3.7-fixes-2126.patch \
+           file://0001-Fix-OSX-build.patch \
            "
 SRCREV = "c1647819eed6d11f94b21981d9c869629299f357"
 PV = "1.9.12"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list