ctf-tools/pathgrind/pathgrind.patch

32 lines
1.2 KiB
Diff
Raw Normal View History

2015-06-19 18:48:15 +00:00
diff --git a/valgrind-r12356/configure.in b/valgrind-r12356/configure.in
index 946baa8..6775185 100644
--- a/valgrind-r12356/configure.in
+++ b/valgrind-r12356/configure.in
@@ -791,6 +791,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.19)
+ AC_MSG_RESULT(2.19 family)
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.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])
2015-11-04 10:00:14 +00:00
diff --git a/valgrind-r12356/coregrind/m_debuginfo/readstabs.c b/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
index e62721b..1865f71 100644
--- a/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
+++ b/valgrind-r12356/coregrind/m_debuginfo/readstabs.c
@@ -52,7 +52,7 @@
/* --- !!! --- EXTERNAL HEADERS start --- !!! --- */
#if defined(VGO_linux)
-# include <a.out.h> /* stabs defns */
+# include <linux/a.out.h> /* stabs defns */
#elif defined(VGO_darwin)
# include <mach-o/nlist.h>
# define n_other n_sect