From 5a01792340999d37435f5000a3f6b8e0f2d11815 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 7 Nov 2014 12:54:17 +0200 Subject: Added the full elimination of sabayon-version --- dev-libs/satyr/Manifest | 1 + .../satyr/files/satyr-0.13-elfutils-0.158.patch | 13 +++++++++ dev-libs/satyr/satyr-0.13.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-libs/satyr/Manifest create mode 100644 dev-libs/satyr/files/satyr-0.13-elfutils-0.158.patch create mode 100644 dev-libs/satyr/satyr-0.13.ebuild (limited to 'dev-libs/satyr') diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest new file mode 100644 index 00000000..2ac476e6 --- /dev/null +++ b/dev-libs/satyr/Manifest @@ -0,0 +1 @@ +DIST satyr-0.13.tar.xz 483584 SHA256 8c2e0ad4512b8a22a2b005fcffe51c80930b9b09462f04d66298b417733e8451 SHA512 64a120942daca824827a8790897b27328b7162531dc860b298d044b54ae652a512f1e6cca12179ce7307626f3dac9a0e09894b265f1ded42eb7b2735843737ac WHIRLPOOL 03851582941b2a089e092182dabd62c119743e1b4d653db32b2542d1307d76984da8d7f175d438a7d0c6cb0e7c9f04dfe12e6fd5e18f3e6f615d67c371fc713c diff --git a/dev-libs/satyr/files/satyr-0.13-elfutils-0.158.patch b/dev-libs/satyr/files/satyr-0.13-elfutils-0.158.patch new file mode 100644 index 00000000..715b3299 --- /dev/null +++ b/dev-libs/satyr/files/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/dev-libs/satyr/satyr-0.13.ebuild b/dev-libs/satyr/satyr-0.13.ebuild new file mode 100644 index 00000000..031b9a6f --- /dev/null +++ b/dev-libs/satyr/satyr-0.13.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils autotools python-single-r1 toolchain-funcs + +DESCRIPTION="Satyr is a collection of low-level algorithms for program failure processing" +HOMEPAGE="https://github.com/abrt/satyr" +SRC_URI="https://fedorahosted.org/released/abrt/satyr-${PV}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + app-arch/rpm + >=dev-libs/elfutils-0.158" +DEPEND="${RDEPEND} virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/satyr-0.13-elfutils-0.158.patch" + + default +} + +src_configure() { + econf --disable-python-manpage --disable-static +} -- cgit v1.2.3