diff options
Diffstat (limited to 'dev-util/valgrind/files/valgrind-3.5.0-glibc-2.12.patch')
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.5.0-glibc-2.12.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-util/valgrind/files/valgrind-3.5.0-glibc-2.12.patch b/dev-util/valgrind/files/valgrind-3.5.0-glibc-2.12.patch deleted file mode 100644 index 6a02d6bbdb9e..000000000000 --- a/dev-util/valgrind/files/valgrind-3.5.0-glibc-2.12.patch +++ /dev/null @@ -1,56 +0,0 @@ -http://cvs.fedoraproject.org/viewvc/rpms/valgrind/devel/valgrind-3.5.0-glibc-2.12.patch?view=log - ---- configure.in -+++ configure.in -@@ -666,6 +666,16 @@ AC_EGREP_CPP([GLIBC_211], [ - ], - GLIBC_VERSION="2.11") - -+AC_EGREP_CPP([GLIBC_212], [ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 12) -+ GLIBC_212 -+ #endif -+#endif -+], -+GLIBC_VERSION="2.12") -+ - AC_EGREP_CPP([AIX5_LIBC], [ - #include <standards.h> - #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || defined(_AIXVERSION_530) -@@ -759,6 +769,13 @@ case "${GLIBC_VERSION}" in - DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" - DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" - ;; -+ 2.12) -+ AC_MSG_RESULT(2.12 family) -+ AC_DEFINE([GLIBC_2_12], 1, [Define to 1 if you're using glibc 2.12.x]) -+ 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}" -+ ;; - aix5) - AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3) - AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 or 5.3]) -@@ -772,7 +789,7 @@ case "${GLIBC_VERSION}" in - - *) - AC_MSG_RESULT(unsupported version) -- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.11]) -+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.12]) - AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 GLIBC_VERSION]) - AC_MSG_ERROR([or Darwin libc]) - ;; ---- config.h.in -+++ config.h.in -@@ -18,6 +18,9 @@ - /* Define to 1 if you're using glibc 2.11.x */ - #undef GLIBC_2_11 - -+/* Define to 1 if you're using glibc 2.12.x */ -+#undef GLIBC_2_12 -+ - /* Define to 1 if you're using glibc 2.2.x */ - #undef GLIBC_2_2 - |