diff --git a/srcpkgs/llvm/files/patches/lldb/fix-musl.patch b/srcpkgs/llvm/files/patches/lldb/fix-musl.patch index efe4a921c5e..c8ca0f632e1 100644 --- a/srcpkgs/llvm/files/patches/lldb/fix-musl.patch +++ b/srcpkgs/llvm/files/patches/lldb/fix-musl.patch @@ -69,3 +69,15 @@ #endif } +--- source/Host/linux/HostThreadLinux.cpp.orig 2015-05-07 12:09:24.855925281 +0200 ++++ source/Host/linux/HostThreadLinux.cpp 2015-05-07 12:12:10.495735534 +0200 +@@ -30,7 +30,9 @@ HostThreadLinux::HostThreadLinux(lldb::t + void + HostThreadLinux::SetName(lldb::thread_t thread, llvm::StringRef name) + { ++#if defined(__ANDROID__) || defined(__GLIBC__) + ::pthread_setname_np(thread, name.data()); ++#endif + } + + void diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index 98fc337d5dd..6579a9d085e 100644 --- a/srcpkgs/llvm/template +++ b/srcpkgs/llvm/template @@ -1,4 +1,4 @@ -# Template file for 'llvm' +# Template file for 'llvm' pkgname=llvm version=3.6.0 wrksrc="llvm-${version}.src"