void-packages/srcpkgs/kcov/patches/musl.patch
2016-10-12 17:12:38 +02:00

13 lines
283 B
Diff

--- src/engines/ptrace.cc.orig 2016-10-12 16:59:39.621744581 +0200
+++ src/engines/ptrace.cc 2016-10-12 17:00:04.938745887 +0200
@@ -31,6 +31,10 @@
#define str(s) #s
#define xstr(s) str(s)
+#ifndef __GLIBC__
+typedef int __ptrace_request;
+#endif
+
enum
{
i386_EIP = 12,