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

046a1c
diff -ur satyr-0.13/configure satyr-0.13-patched/configure
046a1c
--- satyr-0.13/configure	2014-01-22 18:44:45.710649231 +0100
046a1c
+++ satyr-0.13-patched/configure	2014-01-22 18:40:12.606671169 +0100
046a1c
@@ -13261,10 +13255,10 @@
046a1c
 
046a1c
 fi
046a1c
 
046a1c
-ac_fn_c_check_func "$LINENO" "dwfl_frame_state_core" "ac_cv_func_dwfl_frame_state_core"
046a1c
-if test "x$ac_cv_func_dwfl_frame_state_core" = xyes; then :
046a1c
+ac_fn_c_check_func "$LINENO" "dwfl_getthreads" "ac_cv_func_dwfl_getthreads"
046a1c
+if test "x$ac_cv_func_dwfl_getthreads" = xyes; then :
046a1c
 
046a1c
-$as_echo "#define HAVE_DWFL_FRAME_STATE_CORE /**/" >>confdefs.h
046a1c
+$as_echo "#define HAVE_DWFL_NEXT_THREAD /**/" >>confdefs.h
046a1c
 
046a1c
 fi
046a1c
 
046a1c
diff -ur satyr-0.13/lib/config.h.in satyr-0.13-patched/lib/config.h.in
046a1c
--- satyr-0.13/lib/config.h.in	2014-01-22 18:44:45.796649204 +0100
046a1c
+++ satyr-0.13-patched/lib/config.h.in	2014-01-22 18:40:13.001671173 +0100
046a1c
@@ -6,8 +6,8 @@
046a1c
 /* Define to 1 if you have the <dwarf.h> header file. */
046a1c
 #undef HAVE_DWARF_H
046a1c
 
046a1c
-/* Have function dwfl_frame_state_core for coredump unwinding */
046a1c
-#undef HAVE_DWFL_FRAME_STATE_CORE
046a1c
+/* Have function dwfl_getthreads for coredump unwinding */
046a1c
+#undef HAVE_DWFL_NEXT_THREAD
046a1c
 
046a1c
 /* Define to 1 if you have the <elfutils/libdwfl.h> header file. */
046a1c
 #undef HAVE_ELFUTILS_LIBDWFL_H