diff options
author | Mark H Weaver <mhw@netris.org> | 2015-09-15 18:18:46 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-09-15 18:21:16 -0400 |
commit | 1d6c8db57cbcd26994e3c6f0b4662bd783166bbf (patch) | |
tree | fa0b8258a401ccc4f6a0a3054db7b741b2d4da7d /gnu/packages/patches/valgrind-linux-libre-4.x.patch | |
parent | b76b1dcb9694a8b87669ae0de910b811c9f305a8 (diff) | |
download | guix-1d6c8db57cbcd26994e3c6f0b4662bd783166bbf.tar.gz |
gnu: valgrind: Adapt to glibc-2.22 and linux-libre-4.x.
* gnu/packages/patches/valgrind-glibc-2.21.patch: Rename to ... gnu/packages/patches/valgrind-glibc-2.22.patch: ... this, and add a case for glibc-2.22. * gnu/packages/patches/valgrind-linux-libre-4.x.patch: New file. * gnu-system.am (dist_patch_DATA): Add the new file, and rename the other one. * gnu/packages/valgrind.scm (valgrind)[source]: Add new patch.
Diffstat (limited to 'gnu/packages/patches/valgrind-linux-libre-4.x.patch')
-rw-r--r-- | gnu/packages/patches/valgrind-linux-libre-4.x.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/valgrind-linux-libre-4.x.patch b/gnu/packages/patches/valgrind-linux-libre-4.x.patch new file mode 100644 index 0000000000..79166619c7 --- /dev/null +++ b/gnu/packages/patches/valgrind-linux-libre-4.x.patch @@ -0,0 +1,18 @@ +Modify valgrind's configure script to accept linux-libre-4.x as being in the +same family as 3.x. + +--- valgrind-3.10.1/configure 2015-09-15 18:02:20.710262686 -0400 ++++ valgrind-3.10.1/configure 2015-09-15 18:02:59.831829731 -0400 +@@ -5553,9 +5553,9 @@ + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) +- { $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; } ++ 2.6.*|3.*|4.*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x/4.x family (${kernel})" >&5 ++$as_echo "2.6.x/3.x/4.x family (${kernel})" >&6; } + + $as_echo "#define KERNEL_2_6 1" >>confdefs.h + |