mfabik / rpms / satyr

Forked from rpms/satyr 3 years ago
Clone

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

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