public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/files/, dev-util/ccache/
Date: Tue, 16 Feb 2021 23:35:37 +0000 (UTC)	[thread overview]
Message-ID: <1613518532.e00f7ea381541098508ea4fd1dc90282f401d803.slyfox@gentoo> (raw)

commit:     e00f7ea381541098508ea4fd1dc90282f401d803
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 16 23:35:17 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 23:35:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00f7ea3

dev-util/ccache: fix -latomic discovery on sparc

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

 dev-util/ccache/ccache-4.2.ebuild             |  1 +
 dev-util/ccache/files/ccache-4.2-atomic.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/dev-util/ccache/ccache-4.2.ebuild b/dev-util/ccache/ccache-4.2.ebuild
index 3f58044c682..c34ca6a6ca3 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 00000000000..6148e232af9
--- /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;
+     }


             reply	other threads:[~2021-02-16 23:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 23:35 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-30  2:09 [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/files/, dev-util/ccache/ Sam James
2024-01-05  7:32 Sam James
2024-01-05  7:10 Sam James
2023-08-08  2:10 Sam James
2023-06-13 18:12 Sam James
2022-04-17 18:32 Sam James
2020-11-26  8:29 Sergei Trofimovich
2020-11-22 21:20 Sergei Trofimovich
2020-11-22 20:57 Sergei Trofimovich
2020-10-02 22:25 Sergei Trofimovich
2020-06-27  9:21 Sergei Trofimovich
2020-03-24 22:30 Sergei Trofimovich
2019-01-03 18:45 Sergei Trofimovich
2016-11-10  5:40 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613518532.e00f7ea381541098508ea4fd1dc90282f401d803.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox