Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/htop/
Date: Sun, 05 Sep 2021 20:58:45
Message-Id: 1630875514.cd4d45ec421074c7071eb3cef29580adf19e1592.sam@gentoo
1 commit: cd4d45ec421074c7071eb3cef29580adf19e1592
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 5 20:57:44 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 5 20:58:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4d45ec
7
8 sys-process/htop: disable affinity on Darwin
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-process/htop/htop-3.1.0_rc1.ebuild | 7 +++++++
13 1 file changed, 7 insertions(+)
14
15 diff --git a/sys-process/htop/htop-3.1.0_rc1.ebuild b/sys-process/htop/htop-3.1.0_rc1.ebuild
16 index 97f75eb53fe..2429313e1be 100644
17 --- a/sys-process/htop/htop-3.1.0_rc1.ebuild
18 +++ b/sys-process/htop/htop-3.1.0_rc1.ebuild
19 @@ -71,6 +71,13 @@ src_configure() {
20 $(use_enable lm-sensors sensors)
21 )
22 else
23 + if use kernel_Darwin ; then
24 + # Upstream default to checking but --enable-affinity
25 + # overrides this. Simplest to just disable on Darwin
26 + # given it works on BSD anyway.
27 + myeconfargs+=( --disable-affinity )
28 + fi
29 +
30 myeconfargs+=(
31 --disable-capabilities
32 --disable-delayacct