summaryrefslogtreecommitdiff
path: root/extra/valgrind/valgrind-3.7.0-glibc-2.15.patch
blob: fa400b953821335c2d2b1f7ca5ef260f4d6b951b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Naur valgrind-3.7.0-orig/configure valgrind-3.7.0/configure
--- valgrind-3.7.0-orig/configure	2011-11-05 21:24:39.000000000 +1000
+++ valgrind-3.7.0/configure	2011-12-27 15:43:54.832120449 +1000
@@ -6402,6 +6402,17 @@
 	DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
 	DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
 	;;
+     2.15)
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.15 family" >&5
+$as_echo "2.15 family" >&6; }
+
+$as_echo "#define GLIBC_2_15 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; }
@@ -6422,7 +6433,7 @@
      *)
 	{ $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.14" "$LINENO" 5
+	as_fn_error "Valgrind requires glibc version 2.2 - 2.15" "$LINENO" 5
 	as_fn_error "or Darwin libc" "$LINENO" 5
 	;;
 esac