valgrind: fix build with glibc-2.21 by Arch patch
This commit is contained in:
parent
54fc2db1b8
commit
4dd253c306
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, gdb }:
|
{ stdenv, fetchurl, fetchpatch, perl, gdb }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "valgrind-3.10.1";
|
name = "valgrind-3.10.1";
|
||||||
@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "15xrzhfnwwn7n1sfbkwvdbvs6zk0zx718n6zd5i1nrnvdp13s9gs";
|
sha256 = "15xrzhfnwwn7n1sfbkwvdbvs6zk0zx718n6zd5i1nrnvdp13s9gs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [(fetchpatch {
|
||||||
|
name = "glibc-2.21.patch";
|
||||||
|
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk"
|
||||||
|
+ "/valgrind-3.9.0-glibc-2.21.patch?h=packages/valgrind&id=41e87313b69";
|
||||||
|
sha256 = "14sgsvjjalbcqpcayyv5cndc9hfm5bigkp684b6cr6virksmlk19";
|
||||||
|
})];
|
||||||
|
|
||||||
# Perl is needed for `cg_annotate'.
|
# Perl is needed for `cg_annotate'.
|
||||||
# GDB is needed to provide a sane default for `--db-command'.
|
# GDB is needed to provide a sane default for `--db-command'.
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user