diff --git a/srcpkgs/kcov/patches/musl.patch b/srcpkgs/kcov/patches/musl.patch new file mode 100644 index 00000000000..0d5510434c0 --- /dev/null +++ b/srcpkgs/kcov/patches/musl.patch @@ -0,0 +1,13 @@ +--- 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, diff --git a/srcpkgs/kcov/template b/srcpkgs/kcov/template new file mode 100644 index 00000000000..f7eedeeabf4 --- /dev/null +++ b/srcpkgs/kcov/template @@ -0,0 +1,12 @@ +pkgname=kcov +version=31 +revision=1 +build_style=cmake +hostmakedepends="python pkg-config" +makedepends="binutils-devel libcurl-devel elfutils-devel" +short_desc="Code coverage tester for compiled programs, Python and shell" +maintainer="Felix Van der Jeugt " +license="GPL-2" +homepage="http://simonkagstrom.github.io/kcov/index.html" +distfiles="https://github.com/SimonKagstrom/kcov/archive/v$version.tar.gz>$pkgname-v$version.tar.gz" +checksum="0f36a46ada2dcdc297f2a4deed1f910b8f3fac801eb22f4d4c8f7abfcada3f91"