diff options
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.10.1-glibc-2.22.patch | 17 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.10.1.ebuild | 7 |
2 files changed, 22 insertions, 2 deletions
diff --git a/dev-util/valgrind/files/valgrind-3.10.1-glibc-2.22.patch b/dev-util/valgrind/files/valgrind-3.10.1-glibc-2.22.patch new file mode 100644 index 000000000000..aa44aec4a571 --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.10.1-glibc-2.22.patch @@ -0,0 +1,17 @@ +diff -Naur valgrind-3.10.1.orig/configure.ac valgrind-3.10.1/configure.ac +--- valgrind-3.10.1.orig/configure.ac 2016-04-16 04:24:22.285314910 -0400 ++++ valgrind-3.10.1/configure.ac 2016-04-16 04:39:03.437329726 -0400 +@@ -1032,6 +1032,13 @@ + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.22) ++ AC_MSG_RESULT(2.22 family) ++ AC_DEFINE([GLIBC_2_22], 1, [Define to 1 if you're using glibc 2.22.x]) ++ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" ++ ;; + darwin) + AC_MSG_RESULT(Darwin) + AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) diff --git a/dev-util/valgrind/valgrind-3.10.1.ebuild b/dev-util/valgrind/valgrind-3.10.1.ebuild index 7dd15a4e7a6f..b36dfc6a5fed 100644 --- a/dev-util/valgrind/valgrind-3.10.1.ebuild +++ b/dev-util/valgrind/valgrind-3.10.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="4" +EAPI="5" inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils DESCRIPTION="An open-source memory debugger for GNU/Linux" @@ -46,6 +46,9 @@ src_prepare() { # glibc 2.21 fix. Bug #554808. epatch "${FILESDIR}"/${PN}-3.10.1-glibc-2.21.patch + # glibc 2.22 fix. Bug #580092 + epatch "${FILESDIR}"/${PN}-3.10.1-glibc-2.22.patch + # Allow users to test their own patches epatch_user |