summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-03-05 17:58:11 +0100
committerAaron Bauman <bman@gentoo.org>2019-03-11 00:46:36 -0400
commit13cdef93017ab33bd801fd0596bf94ea90ffbf74 (patch)
treefec97acc2d7384c97d6166f58403266dc53df40a /dev-util/ninja
parentsys-auth/munge: remove unused patch (diff)
downloadgentoo-13cdef93017ab33bd801fd0596bf94ea90ffbf74.tar.gz
gentoo-13cdef93017ab33bd801fd0596bf94ea90ffbf74.tar.bz2
gentoo-13cdef93017ab33bd801fd0596bf94ea90ffbf74.zip
dev-util/ninja: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11274 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-util/ninja')
-rw-r--r--dev-util/ninja/files/ninja-uclibc.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-util/ninja/files/ninja-uclibc.patch b/dev-util/ninja/files/ninja-uclibc.patch
deleted file mode 100644
index e87eea84272..00000000000
--- a/dev-util/ninja/files/ninja-uclibc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/src/util.cc b/src/util.cc
-index e31fd1f..1caa1ce 100644
---- a/src/util.cc
-+++ b/src/util.cc
-@@ -585,6 +585,13 @@ double GetLoadAverage() {
- // Calculation taken from comment in libperfstats.h
- return double(cpu_stats.loadavg[0]) / double(1 << SBITS);
- }
-+#elif defined(__UCLIBC__)
-+double GetLoadAverage() {
-+ struct sysinfo si;
-+ if (sysinfo(&si) != 0)
-+ return -0.0f;
-+ return 1.0 / (1 << SI_LOAD_SHIFT) * si.loads[0];
-+}
- #else
- double GetLoadAverage() {
- double loadavg[3] = { 0.0f, 0.0f, 0.0f };