Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ninja/files/
Date: Mon, 11 Mar 2019 04:48:14
Message-Id: 1552279596.13cdef93017ab33bd801fd0596bf94ea90ffbf74.bman@gentoo
1 commit: 13cdef93017ab33bd801fd0596bf94ea90ffbf74
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 5 16:58:11 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 04:46:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cdef93
7
8 dev-util/ninja: remove unused patch(es)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/11274
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 dev-util/ninja/files/ninja-uclibc.patch | 18 ------------------
15 1 file changed, 18 deletions(-)
16
17 diff --git a/dev-util/ninja/files/ninja-uclibc.patch b/dev-util/ninja/files/ninja-uclibc.patch
18 deleted file mode 100644
19 index e87eea84272..00000000000
20 --- a/dev-util/ninja/files/ninja-uclibc.patch
21 +++ /dev/null
22 @@ -1,18 +0,0 @@
23 -diff --git a/src/util.cc b/src/util.cc
24 -index e31fd1f..1caa1ce 100644
25 ---- a/src/util.cc
26 -+++ b/src/util.cc
27 -@@ -585,6 +585,13 @@ double GetLoadAverage() {
28 - // Calculation taken from comment in libperfstats.h
29 - return double(cpu_stats.loadavg[0]) / double(1 << SBITS);
30 - }
31 -+#elif defined(__UCLIBC__)
32 -+double GetLoadAverage() {
33 -+ struct sysinfo si;
34 -+ if (sysinfo(&si) != 0)
35 -+ return -0.0f;
36 -+ return 1.0 / (1 << SI_LOAD_SHIFT) * si.loads[0];
37 -+}
38 - #else
39 - double GetLoadAverage() {
40 - double loadavg[3] = { 0.0f, 0.0f, 0.0f };