From db45ff6017290200b7a0af52fd79adf470bc5404 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 15 Feb 2014 11:29:58 +0100 Subject: [PATCH] valgrind: patch to detect glibc-2.19 (via Arch). --- .../patches/valgrind-3.9.0-glibc-2.19.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/valgrind/patches/valgrind-3.9.0-glibc-2.19.patch diff --git a/srcpkgs/valgrind/patches/valgrind-3.9.0-glibc-2.19.patch b/srcpkgs/valgrind/patches/valgrind-3.9.0-glibc-2.19.patch new file mode 100644 index 0000000000..827acca5c6 --- /dev/null +++ b/srcpkgs/valgrind/patches/valgrind-3.9.0-glibc-2.19.patch @@ -0,0 +1,35 @@ +--- configure 2013-11-01 09:33:32.000000000 +1000 ++++ configure 2014-02-08 09:28:06.063248544 +1000 +@@ -6689,6 +6689,16 @@ + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.19) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5 ++$as_echo "2.19 family" >&6; } ++ ++$as_echo "#define GLIBC_2_19 1" >>confdefs.h ++ ++ 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) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5 + $as_echo "Darwin" >&6; } +--- configure.ac 2013-11-01 09:28:16.000000000 +1000 ++++ configure.ac 2014-02-08 09:27:38.870385366 +1000 +@@ -918,6 +918,13 @@ + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.19) ++ AC_MSG_RESULT(2.19 family) ++ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.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])