New package: kcov-31

This commit is contained in:
Felix Van der Jeugt 2016-10-12 15:18:03 +02:00
parent be59fb86ea
commit 36a89e737f
2 changed files with 25 additions and 0 deletions

View file

@ -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,

12
srcpkgs/kcov/template Normal file
View file

@ -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 <felix.vanderjeugt@gmail.com>"
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"