public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cpuinfo/
Date: Wed,  8 Feb 2023 07:57:55 +0000 (UTC)	[thread overview]
Message-ID: <1675843060.df2226ba0a2ea74a488dcfb996204654ef21d9ee.tupone@gentoo> (raw)

commit:     df2226ba0a2ea74a488dcfb996204654ef21d9ee
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Wed Feb  8 01:59:27 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 07:57:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2226ba

dev-libs/cpuinfo: fix building against dev-cpp/gtest-1.13.0

Closes: https://bugs.gentoo.org/893344
Closes: https://github.com/gentoo/gentoo/pull/29474
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...{cpuinfo-2022.03.26.ebuild => cpuinfo-2022.03.26-r1.ebuild} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-libs/cpuinfo/cpuinfo-2022.03.26.ebuild b/dev-libs/cpuinfo/cpuinfo-2022.03.26-r1.ebuild
similarity index 74%
rename from dev-libs/cpuinfo/cpuinfo-2022.03.26.ebuild
rename to dev-libs/cpuinfo/cpuinfo-2022.03.26-r1.ebuild
index 28a98cb4ef7f..03c742c31f6d 100644
--- a/dev-libs/cpuinfo/cpuinfo-2022.03.26.ebuild
+++ b/dev-libs/cpuinfo/cpuinfo-2022.03.26-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -27,6 +27,14 @@ PATCHES=(
 	"${FILESDIR}"/${P}-gentoo.patch
 )
 
+src_prepare() {
+	cmake_src_prepare
+
+	# >=dev-cpp/gtest-1.13.0 depends on building with at least C++14 standard
+	sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/' \
+		CMakeLists.txt || die "sed failed"
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DCPUINFO_BUILD_BENCHMARKS=OFF


             reply	other threads:[~2023-02-08  7:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08  7:57 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-09 19:40 [gentoo-commits] repo/gentoo:master commit in: dev-libs/cpuinfo/ Alfredo Tupone
2024-11-07 21:35 Alfredo Tupone
2024-12-20 20:34 Alfredo Tupone
2025-02-19 20:09 Alfredo Tupone
2025-03-02 13:51 Alfredo Tupone

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=1675843060.df2226ba0a2ea74a488dcfb996204654ef21d9ee.tupone@gentoo \
    --to=tupone@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