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