wok view valgrind/stuff/valgrind-3.6.0-glibc211.u @ rev 12435

jabberd2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 17:46:17 2012 +0200 (2012-04-21)
parents
children
line source
1 Submitted By: Agathoklis Hatzimanikas <ag at linuxfromscratch dot org>
2 Date: 2010-01-06
3 Initial Package Version: 3.5.0
4 Upstream Status: Uknown
5 Origin: Gentoo
6 Description: Allows Valgring to build with glibc-2.11
8 diff -ruN valgrind-3.5.0/configure.in valgrind-3.5.0-fixed/configure.in
9 --- valgrind-3.5.0/configure.in 2009-11-07 23:34:37.000000000 +0100
10 +++ valgrind-3.5.0-fixed/configure.in 2009-11-07 23:38:14.000000000 +0100
11 @@ -656,6 +656,16 @@
12 ],
13 GLIBC_VERSION="2.10")
15 +AC_EGREP_CPP([GLIBC_211], [
16 +#include <features.h>
17 +#ifdef __GNU_LIBRARY__
18 + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 11)
19 + GLIBC_211
20 + #endif
21 +#endif
22 +],
23 +GLIBC_VERSION="2.11")
24 +
25 AC_EGREP_CPP([AIX5_LIBC], [
26 #include <standards.h>
27 #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || defined(_AIXVERSION_530)
28 @@ -742,6 +752,13 @@
29 DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
30 DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
31 ;;
32 + 2.11)
33 + AC_MSG_RESULT(2.11 family)
34 + AC_DEFINE([GLIBC_2_11], 1, [Define to 1 if you're using glibc 2.11.x])
35 + DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
36 + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
37 + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
38 + ;;
39 aix5)
40 AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3)
41 AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 or 5.3])
42 @@ -755,7 +772,7 @@
44 *)
45 AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
46 - AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.12])
47 + AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.11])
48 AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 GLIBC_VERSION])
49 AC_MSG_ERROR([or Darwin libc])
50 ;;