diff options
Diffstat (limited to 'package/valgrind/patches')
-rw-r--r-- | package/valgrind/patches/patch-configure | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/package/valgrind/patches/patch-configure b/package/valgrind/patches/patch-configure index c49444d12..9867b5309 100644 --- a/package/valgrind/patches/patch-configure +++ b/package/valgrind/patches/patch-configure @@ -23,15 +23,15 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ + +#include <features.h> +#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 10) -+ GLIBC_210 ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 11) ++ GLIBC_211 + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "GLIBC_210" >/dev/null 2>&1; then -+ libc="2.10" ++ $EGREP "GLIBC_211" >/dev/null 2>&1; then ++ libc="2.11" +fi +rm -f conftest* + @@ -42,12 +42,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ;; -+ 2.10) -+ echo "$as_me:$LINENO: result: 2.10 family" >&5 -+echo "${ECHO_T}2.10 family" >&6 ++ 2.11) ++ echo "$as_me:$LINENO: result: 2.11 family" >&5 ++echo "${ECHO_T}2.11 family" >&6 + +cat >>confdefs.h <<\_ACEOF -+#define GLIBC_2_10 1 ++#define GLIBC_2_11 1 +_ACEOF + + DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" |