summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-02-05 15:48:08 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-02-05 15:48:41 -0600
commitd318ba89fdf7c8ee5da28856c072c0b02b70a793 (patch)
treeac215b904fbf55bc1d66b8be6de27a744a3c0a34 /app-containers/cadvisor
parentsci-chemistry/pymol: account for dev-libs/msgpack without IUSE=cxx (diff)
downloadgentoo-d318ba89fdf7c8ee5da28856c072c0b02b70a793.tar.gz
gentoo-d318ba89fdf7c8ee5da28856c072c0b02b70a793.tar.bz2
gentoo-d318ba89fdf7c8ee5da28856c072c0b02b70a793.zip
app-containers/cadvisor: fix tests
Closes: https://bugs.gentoo.org/892896 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers/cadvisor')
-rw-r--r--app-containers/cadvisor/cadvisor-0.36.0.ebuild5
1 files 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() {