diff --git a/satyr-0.13-elfutils-0.158.patch b/satyr-0.13-elfutils-0.158.patch new file mode 100644 index 0000000..715b329 --- /dev/null +++ b/satyr-0.13-elfutils-0.158.patch @@ -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; diff --git a/satyr.spec b/satyr.spec index 043a242..0c1e1f7 100644 --- a/satyr.spec +++ b/satyr.spec @@ -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 0.13-2 +- Fix build against elfutils-0.158 + * Tue Jan 07 2014 Martin Milata 0.13-1 - New upstream version - Kerneloops parser support for ppc64 and s390