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/ccache/files/
Date: Fri, 29 Nov 2019 22:08:24
Message-Id: 1575065268.f3b2df8386bc6bbafb108a7f4234244cb44d7a72.bman@gentoo
1 commit: f3b2df8386bc6bbafb108a7f4234244cb44d7a72
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 25 12:43:35 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 22:07:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b2df83
7
8 dev-util/ccache: remove unused patch
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
12
13 .../ccache/files/ccache-3.3-size-on-disk.patch | 22 ----------------------
14 1 file changed, 22 deletions(-)
15
16 diff --git a/dev-util/ccache/files/ccache-3.3-size-on-disk.patch b/dev-util/ccache/files/ccache-3.3-size-on-disk.patch
17 deleted file mode 100644
18 index 277e9a6469a..00000000000
19 --- a/dev-util/ccache/files/ccache-3.3-size-on-disk.patch
20 +++ /dev/null
21 @@ -1,22 +0,0 @@
22 -https://bugs.gentoo.org/456178
23 -https://github.com/ccache/ccache/issues/442
24 -
25 -stick to the size of files on disk rather than their byte size.
26 -this func is only used for stats management, so this should be safe.
27 -
28 ---- a/util.c
29 -+++ b/util.c
30 -@@ -845,12 +845,7 @@ file_size(struct stat *st)
31 - #ifdef _WIN32
32 - return (st->st_size + 1023) & ~1023;
33 - #else
34 -- size_t size = st->st_blocks * 512;
35 -- if ((size_t)st->st_size > size) {
36 -- // Probably a broken stat() call...
37 -- size = (st->st_size + 1023) & ~1023;
38 -- }
39 -- return size;
40 -+ return st->st_blocks * 512;
41 - #endif
42 - }
43 -