diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-11-25 13:43:35 +0100 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-11-29 17:07:48 -0500 |
commit | f3b2df8386bc6bbafb108a7f4234244cb44d7a72 (patch) | |
tree | 4c00a4038bc8e10faa892dec1587405e7c758d3a /dev-util/ccache | |
parent | net-wireless/wpa_supplicant: remove unused patches (diff) | |
download | gentoo-f3b2df8386bc6bbafb108a7f4234244cb44d7a72.tar.gz gentoo-f3b2df8386bc6bbafb108a7f4234244cb44d7a72.tar.bz2 gentoo-f3b2df8386bc6bbafb108a7f4234244cb44d7a72.zip |
dev-util/ccache: remove unused patch
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-util/ccache')
-rw-r--r-- | dev-util/ccache/files/ccache-3.3-size-on-disk.patch | 22 |
1 files changed, 0 insertions, 22 deletions
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 deleted file mode 100644 index 277e9a6469a0..000000000000 --- a/dev-util/ccache/files/ccache-3.3-size-on-disk.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://bugs.gentoo.org/456178 -https://github.com/ccache/ccache/issues/442 - -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 - } - |