Blame SOURCES/satyr-0.13-unwinder-refresh-config-h.patch

f41043
From 7351e5b5ad04bd840e75fafb8ab19d4e0c90d717 Mon Sep 17 00:00:00 2001
f41043
From: Matej Habrnal <mhabrnal@redhat.com>
f41043
Date: Fri, 13 May 2016 14:42:23 +0200
f41043
Subject: [PATCH] unwinder refresh config h
f41043
f41043
---
f41043
 configure       | 6 +++---
f41043
 lib/config.h.in | 4 ++--
f41043
 2 files changed, 5 insertions(+), 5 deletions(-)
f41043
f41043
diff --git a/configure b/configure
f41043
index 2418533..f79cfeb 100755
f41043
--- a/configure
f41043
+++ b/configure
f41043
@@ -13261,10 +13261,10 @@ _ACEOF
f41043
 
f41043
 fi
f41043
 
f41043
-ac_fn_c_check_func "$LINENO" "dwfl_frame_state_core" "ac_cv_func_dwfl_frame_state_core"
f41043
-if test "x$ac_cv_func_dwfl_frame_state_core" = xyes; then :
f41043
+ac_fn_c_check_func "$LINENO" "dwfl_getthreads" "ac_cv_func_dwfl_getthreads"
f41043
+if test "x$ac_cv_func_dwfl_getthreads" = xyes; then :
f41043
 
f41043
-$as_echo "#define HAVE_DWFL_FRAME_STATE_CORE /**/" >>confdefs.h
f41043
+$as_echo "#define HAVE_DWFL_NEXT_THREAD /**/" >>confdefs.h
f41043
 
f41043
 fi
f41043
 
f41043
diff --git a/lib/config.h.in b/lib/config.h.in
f41043
index b5c34c6..b7b6255 100644
f41043
--- a/lib/config.h.in
f41043
+++ b/lib/config.h.in
f41043
@@ -6,8 +6,8 @@
f41043
 /* Define to 1 if you have the <dwarf.h> header file. */
f41043
 #undef HAVE_DWARF_H
f41043
 
f41043
-/* Have function dwfl_frame_state_core for coredump unwinding */
f41043
-#undef HAVE_DWFL_FRAME_STATE_CORE
f41043
+/* Have function dwfl_getthreads for coredump unwinding */
f41043
+#undef HAVE_DWFL_NEXT_THREAD
f41043
 
f41043
 /* Define to 1 if you have the <elfutils/libdwfl.h> header file. */
f41043
 #undef HAVE_ELFUTILS_LIBDWFL_H
f41043
-- 
f41043
1.8.3.1
f41043