31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
Index: valgrind-3.8.1/configure
|
||
|
===================================================================
|
||
|
--- valgrind-3.8.1.orig/configure
|
||
|
+++ valgrind-3.8.1/configure
|
||
|
@@ -6604,6 +6604,16 @@ $as_echo "#define GLIBC_2_16 1" >>confde
|
||
|
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||
|
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||
|
;;
|
||
|
+ 2.17)
|
||
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.16 family" >&5
|
||
|
+$as_echo "2.17 family" >&6; }
|
||
|
+
|
||
|
+$as_echo "#define GLIBC_2_17 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; }
|
||
|
@@ -6624,7 +6634,7 @@ $as_echo "#define BIONIC_LIBC 1" >>confd
|
||
|
*)
|
||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported version ${GLIBC_VERSION}" >&5
|
||
|
$as_echo "unsupported version ${GLIBC_VERSION}" >&6; }
|
||
|
- as_fn_error "Valgrind requires glibc version 2.2 - 2.16" "$LINENO" 5
|
||
|
+ as_fn_error "Valgrind requires glibc version 2.2 - 2.17" "$LINENO" 5
|
||
|
as_fn_error "or Darwin libc" "$LINENO" 5
|
||
|
;;
|
||
|
esac
|