void-packages/srcpkgs/kcov/patches/musl.patch

14 lines
283 B
Diff
Raw Normal View History

2016-10-12 13:18:03 +00:00
--- 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,