valgrind/glibc-version.patch
Tomas Cech 321aae1516 Accepting request 294240 from home:pluskalm:branches:devel:tools
- Cleanup spec file with spec-cleaner
- Update to 3.10.1
  * bugfix release (for full list of solved issues see NEWS file)

OBS-URL: https://build.opensuse.org/request/show/294240
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=128
2015-04-02 18:28:10 +00:00

19 lines
739 B
Diff

Index: valgrind-3.10.1/configure.ac
===================================================================
--- valgrind-3.10.1.orig/configure.ac
+++ valgrind-3.10.1/configure.ac
@@ -1018,6 +1018,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.21)
+ AC_MSG_RESULT(2.21 family)
+ AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.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}"
+ ;;
darwin)
AC_MSG_RESULT(Darwin)
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])