valgrind: Update to 3.11.0

This commit is contained in:
Eelco Dolstra 2015-09-28 15:52:31 +02:00
parent 506463e06c
commit 5b52b3589c
2 changed files with 10 additions and 20 deletions

View File

@ -1,19 +1,21 @@
{ stdenv, fetchurl, fetchpatch, perl, gdb }:
stdenv.mkDerivation rec {
name = "valgrind-3.10.1";
name = "valgrind-3.11.0";
src = fetchurl {
url = "http://valgrind.org/downloads/${name}.tar.bz2";
sha256 = "15xrzhfnwwn7n1sfbkwvdbvs6zk0zx718n6zd5i1nrnvdp13s9gs";
sha256 = "0hiv871b9bk689mv42mkhp76za78l5773glszfkdbpf1m1qn4fbc";
};
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";
}) ./linux-4.0.patch];
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";
})
];
outputs = [ "out" "doc" ];

View File

@ -1,12 +0,0 @@
diff -Naur valgrind-3.10.1/configure valgrind-3.10.1-patch/configure
--- valgrind-3.10.1/configure 2014-11-25 11:42:25.000000000 -0800
+++ valgrind-3.10.1-patch/configure 2015-04-21 09:45:37.656113841 -0700
@@ -5553,7 +5553,7 @@
kernel=`uname -r`
case "${kernel}" in
- 2.6.*|3.*)
+ 2.6.*|3.*|4.*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x family (${kernel})" >&5
$as_echo "2.6.x/3.x family (${kernel})" >&6; }