aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lldb/lldb-3.8-alpine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/lldb/lldb-3.8-alpine.patch')
-rw-r--r--unmaintained/lldb/lldb-3.8-alpine.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/unmaintained/lldb/lldb-3.8-alpine.patch b/unmaintained/lldb/lldb-3.8-alpine.patch
new file mode 100644
index 0000000000..97c56fd026
--- /dev/null
+++ b/unmaintained/lldb/lldb-3.8-alpine.patch
@@ -0,0 +1,27 @@
+diff --git a/include/lldb/Host/android/Android.h b/include/lldb/Host/android/Android.h
+index 8efc1a5..6e38d0d 100644
+--- a/include/lldb/Host/android/Android.h
++++ b/include/lldb/Host/android/Android.h
+@@ -15,7 +15,9 @@
+ #include <errno.h>
+
+ #define _isatty isatty
++#ifndef SYS_tgkill
+ #define SYS_tgkill __NR_tgkill
++#endif
+
+ namespace std
+ {
+diff --git a/include/lldb/Host/linux/Ptrace.h b/include/lldb/Host/linux/Ptrace.h
+index b28bb37..3b70602 100644
+--- a/include/lldb/Host/linux/Ptrace.h
++++ b/include/lldb/Host/linux/Ptrace.h
+@@ -14,7 +14,7 @@
+
+ #include <sys/ptrace.h>
+
+-#ifdef __ANDROID_NDK__
++#ifndef __GLIBC__
+ #define PT_DETACH PTRACE_DETACH
+ typedef int __ptrace_request;
+ #endif