commit:     479b7324baaa5d6556d3d68c6cd878f63dffa9b2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 21:57:12 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 22:03:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479b7324

dev-util/ccache: drop unused patch

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../ccache/files/ccache-3.1.10-size-on-disk.patch   | 21 ---------------------
 1 file changed, 21 deletions(-)

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
deleted file mode 100644
index 5e502912bfa..00000000000
--- a/dev-util/ccache/files/ccache-3.1.10-size-on-disk.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://bugs.gentoo.org/56178
-
-stick to the size of files on disk rather than their byte size.
-this func is only used for stats management, so this should be safe.
-
---- a/util.c
-+++ b/util.c
-@@ -845,12 +845,7 @@ file_size(struct stat *st)
- #ifdef _WIN32
-       return (st->st_size + 1023) & ~1023;
- #else
--      size_t size = st->st_blocks * 512;
--      if ((size_t)st->st_size > size) {
--              /* probably a broken stat() call ... */
--              size = (st->st_size + 1023) & ~1023;
--      }
--      return size;
-+      return st->st_blocks * 512;
- #endif
- }
- 

Reply via email to