1 |
commit: 479b7324baaa5d6556d3d68c6cd878f63dffa9b2 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 19 21:57:12 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 19 22:03:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479b7324 |
7 |
|
8 |
dev-util/ccache: drop unused patch |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
.../ccache/files/ccache-3.1.10-size-on-disk.patch | 21 --------------------- |
14 |
1 file changed, 21 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/ccache/files/ccache-3.1.10-size-on-disk.patch b/dev-util/ccache/files/ccache-3.1.10-size-on-disk.patch |
17 |
deleted file mode 100644 |
18 |
index 5e502912bfa..00000000000 |
19 |
--- a/dev-util/ccache/files/ccache-3.1.10-size-on-disk.patch |
20 |
+++ /dev/null |
21 |
@@ -1,21 +0,0 @@ |
22 |
-https://bugs.gentoo.org/56178 |
23 |
- |
24 |
-stick to the size of files on disk rather than their byte size. |
25 |
-this func is only used for stats management, so this should be safe. |
26 |
- |
27 |
---- a/util.c |
28 |
-+++ b/util.c |
29 |
-@@ -845,12 +845,7 @@ file_size(struct stat *st) |
30 |
- #ifdef _WIN32 |
31 |
- return (st->st_size + 1023) & ~1023; |
32 |
- #else |
33 |
-- size_t size = st->st_blocks * 512; |
34 |
-- if ((size_t)st->st_size > size) { |
35 |
-- /* probably a broken stat() call ... */ |
36 |
-- size = (st->st_size + 1023) & ~1023; |
37 |
-- } |
38 |
-- return size; |
39 |
-+ return st->st_blocks * 512; |
40 |
- #endif |
41 |
- } |
42 |
- |