diff options
Diffstat (limited to 'dev-libs/elfutils/elfutils-0.186.ebuild')
-rw-r--r-- | dev-libs/elfutils/elfutils-0.186.ebuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-libs/elfutils/elfutils-0.186.ebuild b/dev-libs/elfutils/elfutils-0.186.ebuild index d7c479481a35..e8c5b4a6a800 100644 --- a/dev-libs/elfutils/elfutils-0.186.ebuild +++ b/dev-libs/elfutils/elfutils-0.186.ebuild @@ -8,6 +8,7 @@ inherit flag-o-matic multilib-minimal DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" HOMEPAGE="https://elfutils.org/" SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.186-patches.tar.gz" LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" SLOT="0" @@ -36,23 +37,14 @@ BDEPEND="nls? ( sys-devel/gettext ) RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch - "${FILESDIR}"/${PN}-0.177-disable-large.patch - "${FILESDIR}"/${PN}-0.180-PaX-support.patch + "${WORKDIR}"/${PN}-0.186-patches/ ) src_prepare() { default if use elibc_musl; then - mkdir -p "${T}"/musl || die - cp -rv "${FILESDIR}"/musl/*.patch "${T}"/musl || die - - # Delete patches upstreamed in 0.186 - rm "${T}/musl/${PN}-0.185-error-h.patch" || die - rm "${T}/musl/${PN}-0.185-strndupa.patch" || die - - eapply "${T}"/musl/ + eapply "${WORKDIR}"/${PN}-0.186-patches/musl/ fi if ! use static-libs; then |