view audio/jack2/patch-clang.patch @ 1186:2fafcd07edb0

core/busybox: fix crash under LLVM 9
author David Demelier <markand@malikania.fr>
date Mon, 28 Oct 2019 20:35:00 +0100
parents 0d9490a65130
children
line wrap: on
line source

--- posix/JackNetUnixSocket.cpp.orig	2019-08-06 11:03:41.791379557 +0000
+++ posix/JackNetUnixSocket.cpp	2019-08-06 11:12:24.479395613 +0000
@@ -169,7 +169,7 @@
 
     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)