commit
68d144b6ed
@ -0,0 +1,12 @@
|
||||
diff --git a/src/engines/ptrace.cc b/src/engines/ptrace.cc
|
||||
index 59b615f..e02cddf 100644
|
||||
--- a/src/engines/ptrace.cc
|
||||
+++ b/src/engines/ptrace.cc
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#if defined(__aarch64__)
|
||||
# include <sys/uio.h>
|
||||
+# include <elf.h>
|
||||
#endif
|
||||
|
||||
#include <map>
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kcov-${version}";
|
||||
version = "34";
|
||||
version = "35";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SimonKagstrom";
|
||||
repo = "kcov";
|
||||
rev = "v${version}";
|
||||
sha256 = "1i4pn5na8m308pssk8585nmqi8kwd63a9h2rkjrn4w78ibmxvj01";
|
||||
sha256 = "1da9vm87pi5m9ika0q1f1ai85w3vwlap8yln147yr9sc37jp5jcw";
|
||||
};
|
||||
|
||||
preConfigure = "patchShebangs src/bin-to-c-source.py";
|
||||
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
|
||||
|
||||
patches = [ ./aarch64_nt_prstatus.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -32,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://simonkagstrom.github.io/kcov/index.html;
|
||||
license = licenses.gpl2;
|
||||
|
||||
maintainers = [ maintainers.gal_bolle ];
|
||||
maintainers = with maintainers; [ gal_bolle ekleog ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user