mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
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 {
|
||||
name = "valgrind-3.10.1";
|
||||
|
@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
|
|||
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'.
|
||||
# GDB is needed to provide a sane default for `--db-command'.
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
|
Loading…
Reference in a new issue