From c68cd6b626be1b37323501bdf71a0838ef5a35db Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 6 Apr 2020 01:09:27 +0000 Subject: sys-devel/prelink: Use EAPI="7". Signed-off-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sergei Trofimovich --- sys-devel/prelink/prelink-20151030.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'sys-devel/prelink') diff --git a/sys-devel/prelink/prelink-20151030.ebuild b/sys-devel/prelink/prelink-20151030.ebuild index 6c1b59681b7b..e119ab02ea93 100644 --- a/sys-devel/prelink/prelink-20151030.ebuild +++ b/sys-devel/prelink/prelink-20151030.ebuild @@ -1,12 +1,12 @@ # Copyright 2002-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="7" MY_PN="${PN}-cross" MY_P="${MY_PN}-${PV}" -inherit autotools eutils flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times" HOMEPAGE="https://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/ https://people.redhat.com/jakub/prelink" @@ -26,9 +26,13 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PN}-20130503-prelink-conf.patch + "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-20130503-prelink-conf.patch - epatch "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch + default sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147 -- cgit v1.2.3-65-gdbad