summaryrefslogtreecommitdiff
path: root/dev-util/ccache/files/ccache-4.0-avoid-run-user.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-11-26 08:28:51 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-11-26 08:29:38 +0000
commit096e095119e791717533de78867c03ea02e6ab4c (patch)
tree7cb91e249e783c3c1cf2fe044a9168148ac4c936 /dev-util/ccache/files/ccache-4.0-avoid-run-user.patch
parent332eb1d426a84ea0ef0730b0d6757ed48e63cd7a (diff)
downloadgentoo-096e095119e791717533de78867c03ea02e6ab4c.tar.gz
gentoo-096e095119e791717533de78867c03ea02e6ab4c.tar.bz2
gentoo-096e095119e791717533de78867c03ea02e6ab4c.zip
dev-util/ccache: drop old
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/ccache/files/ccache-4.0-avoid-run-user.patch')
-rw-r--r--dev-util/ccache/files/ccache-4.0-avoid-run-user.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-util/ccache/files/ccache-4.0-avoid-run-user.patch b/dev-util/ccache/files/ccache-4.0-avoid-run-user.patch
deleted file mode 100644
index 07da25c6c341..000000000000
--- a/dev-util/ccache/files/ccache-4.0-avoid-run-user.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Gentoo's sandbox does not whitelist this path by default yet.
-TODO: bug link.
-
-Until we have a sandbox whitelisting the path let's rely on ccache's default.
---- a/src/Config.cpp
-+++ b/src/Config.cpp
-@@ -833,11 +833,5 @@ Config::check_key_tables_consistency()
- std::string
- Config::default_temporary_dir(const std::string& cache_dir)
- {
--#ifdef HAVE_GETEUID
-- std::string user_tmp_dir = fmt::format("/run/user/{}", geteuid());
-- if (Stat::stat(user_tmp_dir).is_directory()) {
-- return user_tmp_dir + "/ccache-tmp";
-- }
--#endif
- return cache_dir + "/tmp";
- }