diff --git a/srcpkgs/llvm/files/patches/lldb/fix-musl.patch b/srcpkgs/llvm/files/patches/lldb/fix-musl.patch index 192b1f1ed12..bb670e55328 100644 --- a/srcpkgs/llvm/files/patches/lldb/fix-musl.patch +++ b/srcpkgs/llvm/files/patches/lldb/fix-musl.patch @@ -18,3 +18,14 @@ #ifndef _MSC_VER #include #endif +--- source/Plugins/Process/Linux/NativeProcessLinux.cpp.orig 2015-05-07 11:33:00.109509237 +0200 ++++ source/Plugins/Process/Linux/NativeProcessLinux.cpp 2015-05-07 11:36:17.726275750 +0200 +@@ -68,7 +68,7 @@ + #include "ProcFileReader.h" + #include "Plugins/Process/POSIX/ProcessPOSIXLog.h" + +-#ifdef __ANDROID__ ++#if defined(__ANDROID__) || !defined(__GLIBC__) + #define __ptrace_request int + #define PT_DETACH PTRACE_DETACH + #endif diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index 6579a9d085e..98fc337d5dd 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"