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/pthreadpool/
Date: Wed,  8 Feb 2023 08:03:06 +0000 (UTC)	[thread overview]
Message-ID: <1675843360.fba8b18d86322eddfbde10f94609ac4ea1f66e69.tupone@gentoo> (raw)

commit:     fba8b18d86322eddfbde10f94609ac4ea1f66e69
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Wed Feb  8 02:42:28 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 08:02:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba8b18d

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

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

 ...pool-2022.05.09.ebuild => pthreadpool-2022.05.09-r1.ebuild} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-libs/pthreadpool/pthreadpool-2022.05.09.ebuild b/dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild
similarity index 76%
rename from dev-libs/pthreadpool/pthreadpool-2022.05.09.ebuild
rename to dev-libs/pthreadpool/pthreadpool-2022.05.09-r1.ebuild
index b2331e976f63..9cfc03ed4564 100644
--- a/dev-libs/pthreadpool/pthreadpool-2022.05.09.ebuild
+++ b/dev-libs/pthreadpool/pthreadpool-2022.05.09-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
@@ -26,6 +26,14 @@ PATCHES=(
 	"${FILESDIR}"/${P}-gentoo.patch
 )
 
+src_prepare() {
+	cmake_src_prepare
+
+	# >=dev-cpp/gtest-1.13.0 requires C++14 standard or later
+	sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/g' \
+		CMakeLists.txt || die "sed failed"
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DPTHREADPOOL_BUILD_BENCHMARKS=OFF


             reply	other threads:[~2023-02-08  8:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08  8:03 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-09  7:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/pthreadpool/ Alfredo Tupone
2024-02-24  6:44 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=1675843360.fba8b18d86322eddfbde10f94609ac4ea1f66e69.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