commit:     aa389198640ebfa07fb43bcb32403b77de7a815b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 19:14:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 16 19:34:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa389198

sys-fabric/libnes: fix broken src_unpack

Closes: https://bugs.gentoo.org/514258
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fabric/libnes/libnes-1.1.4.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/sys-fabric/libnes/libnes-1.1.4.ebuild 
b/sys-fabric/libnes/libnes-1.1.4.ebuild
index 0b48b23ebcd..384f843aa14 100644
--- a/sys-fabric/libnes/libnes-1.1.4.ebuild
+++ b/sys-fabric/libnes/libnes-1.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,6 +19,16 @@ RDEPEND="${DEPEND}
        !sys-fabric/openib-userspace"
 block_other_ofed_versions
 
+src_unpack() {
+       default
+
+       # 
/var/tmp/portage/sys-fabric/libnes-1.1.4/work/OFED-3.12-rc1/SRPMS/libnes-1.1.4-0..src.rpm
+       # bug #514258
+       mv "${WORKDIR}"/OFED-3.12-rc1/SRPMS/libnes-1.1.4-0..src.rpm 
"${WORKDIR}"/OFED-3.12-rc1/SRPMS/libnes-1.1.4-0.src.rpm || die
+
+       openib_src_unpack
+}
+
 src_configure() {
        econf $(use_enable static-libs static)
 }

Reply via email to