diff options
Diffstat (limited to 'dev-util/valgrind/files/valgrind-3.7.0-glibc-2.15.patch')
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.7.0-glibc-2.15.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/valgrind/files/valgrind-3.7.0-glibc-2.15.patch b/dev-util/valgrind/files/valgrind-3.7.0-glibc-2.15.patch new file mode 100644 index 000000000000..f5098a43cf8e --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.7.0-glibc-2.15.patch @@ -0,0 +1,26 @@ +diff -Naur valgrind-3.7.0.orig//configure.in valgrind-3.7.0/configure.in +--- valgrind-3.7.0.orig//configure.in 2012-01-14 17:49:13.000000000 -0500 ++++ valgrind-3.7.0/configure.in 2012-01-14 18:13:45.000000000 -0500 +@@ -778,6 +778,13 @@ + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.15) ++ AC_MSG_RESULT(2.15 family) ++ AC_DEFINE([GLIBC_2_15], 1, [Define to 1 if you're using glibc 2.15.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]) +@@ -791,7 +798,7 @@ + + *) + AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}]) +- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.14]) ++ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.15]) + AC_MSG_ERROR([or Darwin libc]) + ;; + esac |