diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-16 23:35:17 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-16 23:35:32 +0000 |
commit | e00f7ea381541098508ea4fd1dc90282f401d803 (patch) | |
tree | 61a3f4b5d7e47884e0e816ff9c4001cc887a494f /dev-util/ccache | |
parent | kde-apps/akonadi: Drop 20.12.2 (r0) (diff) | |
download | gentoo-e00f7ea381541098508ea4fd1dc90282f401d803.tar.gz gentoo-e00f7ea381541098508ea4fd1dc90282f401d803.tar.bz2 gentoo-e00f7ea381541098508ea4fd1dc90282f401d803.zip |
dev-util/ccache: fix -latomic discovery on sparc
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/ccache')
-rw-r--r-- | dev-util/ccache/ccache-4.2.ebuild | 1 | ||||
-rw-r--r-- | dev-util/ccache/files/ccache-4.2-atomic.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/ccache/ccache-4.2.ebuild b/dev-util/ccache/ccache-4.2.ebuild index 3f58044c6822..c34ca6a6ca30 100644 --- a/dev-util/ccache/ccache-4.2.ebuild +++ b/dev-util/ccache/ccache-4.2.ebuild @@ -37,6 +37,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.5-nvcc-test.patch "${FILESDIR}"/${PN}-4.0-objdump.patch "${FILESDIR}"/${PN}-4.1-avoid-run-user.patch + "${FILESDIR}"/${PN}-4.2-atomic.patch ) src_prepare() { diff --git a/dev-util/ccache/files/ccache-4.2-atomic.patch b/dev-util/ccache/files/ccache-4.2-atomic.patch new file mode 100644 index 000000000000..6148e232af9d --- /dev/null +++ b/dev-util/ccache/files/ccache-4.2-atomic.patch @@ -0,0 +1,11 @@ +https://github.com/ccache/ccache/pull/800 +--- a/cmake/StdAtomic.cmake ++++ b/cmake/StdAtomic.cmake +@@ -10,6 +10,7 @@ set( + int main() + { + std::atomic<long long> x; ++ ++x; + (void)x.load(); + return 0; + } |