commit:     d318ba89fdf7c8ee5da28856c072c0b02b70a793
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 21:48:08 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 21:48:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d318ba89

app-containers/cadvisor: fix tests

Closes: https://bugs.gentoo.org/892896
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-containers/cadvisor/cadvisor-0.36.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-containers/cadvisor/cadvisor-0.36.0.ebuild 
b/app-containers/cadvisor/cadvisor-0.36.0.ebuild
index 9e760144cab2..f039eb3ee130 100644
--- a/app-containers/cadvisor/cadvisor-0.36.0.ebuild
+++ b/app-containers/cadvisor/cadvisor-0.36.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,11 +20,12 @@ DEPEND="${COMMON_DEPEND}"
 RDEPEND="${COMMON_DEPEND}"
 
 src_prepare() {
+       default
        sed -i -e "/go get/d" build/assets.sh || die
        sed -i -e "s/git describe.*/echo ${PV} )/"\
                -e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
                build/build.sh || die
-       default
+       sed -i -e "s/-short -race/-short/" Makefile || die
 }
 
 src_compile() {

Reply via email to