diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
commit | dfc1b1e7d8d180ce72b70ef0b629ee45fd4e2674 (patch) | |
tree | b3b67593a04ed06a6d49cd6178eafdf4bac403c5 /package/valgrind | |
parent | 880a694987b2500a302722530615ec5e70a1d507 (diff) | |
parent | 322327d668e6cef8bb5f318bc414593794530b7b (diff) |
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/valgrind')
-rw-r--r-- | package/valgrind/patches/patch-configure | 49 | ||||
-rw-r--r-- | package/valgrind/patches/patch-configure.orig | 21 |
2 files changed, 70 insertions, 0 deletions
diff --git a/package/valgrind/patches/patch-configure b/package/valgrind/patches/patch-configure new file mode 100644 index 000000000..07bea76d5 --- /dev/null +++ b/package/valgrind/patches/patch-configure @@ -0,0 +1,49 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- valgrind-3.3.1.orig/configure 2008-06-01 03:44:42.000000000 +0200 ++++ valgrind-3.3.1/configure 2009-06-02 01:32:59.000000000 +0200 +@@ -4637,6 +4637,27 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>& + fi + rm -f conftest* + ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++#include <features.h> ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 10) ++ GLIBC_210 ++ #endif ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "GLIBC_210" >/dev/null 2>&1; then ++ libc="2.10" ++fi ++rm -f conftest* ++ + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -4742,6 +4763,17 @@ _ACEOF + 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 ++ ++cat >>confdefs.h <<\_ACEOF ++#define GLIBC_2_10 1 ++_ACEOF ++ ++ DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ++ ;; + aix5) + echo "$as_me:$LINENO: result: AIX 5.1 or 5.2 or 5.3" >&5 + echo "${ECHO_T}AIX 5.1 or 5.2 or 5.3" >&6 diff --git a/package/valgrind/patches/patch-configure.orig b/package/valgrind/patches/patch-configure.orig new file mode 100644 index 000000000..ecff7daa0 --- /dev/null +++ b/package/valgrind/patches/patch-configure.orig @@ -0,0 +1,21 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- valgrind-3.3.1.orig/configure 2008-06-01 03:44:42.000000000 +0200 ++++ valgrind-3.3.1/configure 2009-06-02 01:28:04.000000000 +0200 +@@ -4742,6 +4742,17 @@ _ACEOF + DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + ;; ++ 2.10.90) ++ echo "$as_me:$LINENO: result: 2.10 family" >&5 ++echo "${ECHO_T}2.10 family" >&6 ++ ++cat >>confdefs.h <<\_ACEOF ++#define GLIBC_2_10 1 ++_ACEOF ++ ++ DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ++ ;; + aix5) + echo "$as_me:$LINENO: result: AIX 5.1 or 5.2 or 5.3" >&5 + echo "${ECHO_T}AIX 5.1 or 5.2 or 5.3" >&6 |