Fix build against elfutils-0.158

This commit is contained in:
Martin Milata 2014-01-07 17:48:07 +01:00
parent c337ac047d
commit dfe03c7889
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/lib/core_unwind.c b/lib/core_unwind.c
index d0c7aec..7910254 100644
--- a/lib/core_unwind.c
+++ b/lib/core_unwind.c
@@ -206,7 +206,7 @@ open_coredump(const char *elf_file, const char *exe_file, char **error_msg)
ch->cb.section_address = dwfl_offline_section_address;
ch->dwfl = dwfl_begin(&ch->cb);
- if (dwfl_core_file_report(ch->dwfl, ch->eh) == -1)
+ if (dwfl_core_file_report(ch->dwfl, ch->eh, exe_file) == -1)
{
set_error_dwfl("dwfl_core_file_report");
goto fail_dwfl;

View File

@ -19,7 +19,7 @@
Name: satyr
Version: 0.13
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tools to create anonymous, machine-friendly problem reports
Group: System Environment/Libraries
License: GPLv2+
@ -38,6 +38,8 @@ BuildRequires: gcc-c++
BuildRequires: python-sphinx
%endif
Patch0: satyr-0.13-elfutils-0.158.patch
%description
Satyr is a library that can be used to create and process microreports.
Microreports consist of structured data suitable to be analyzed in a fully
@ -65,6 +67,7 @@ Python bindings for %{name}.
%prep
%setup -q
%patch0 -p1
%build
%configure \
@ -107,6 +110,9 @@ make check
%endif
%changelog
* Tue Jan 07 2014 Martin Milata <mmilata@redhat.com> 0.13-2
- Fix build against elfutils-0.158
* Tue Jan 07 2014 Martin Milata <mmilata@redhat.com> 0.13-1
- New upstream version
- Kerneloops parser support for ppc64 and s390