From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/, media-sound/snapcast/files/
Date: Sat, 6 Nov 2021 19:40:51 +0000 (UTC) [thread overview]
Message-ID: <1636227617.4f80001703d1300bf35141adcfca5593da5fdb9f.jsmolic@gentoo> (raw)
commit: 4f80001703d1300bf35141adcfca5593da5fdb9f
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 6 19:40:17 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Nov 6 19:40:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f800017
media-sound/snapcast: Apply c++17 patch
Thanks to Andreas Sturmlechner for providing the patch link.
Closes: https://bugs.gentoo.org/808705
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
.../snapcast/files/snapcast-0.25.0-cxx17.patch | 27 ++++++++++++++++++++++
media-sound/snapcast/snapcast-0.25.0-r1.ebuild | 5 +++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/media-sound/snapcast/files/snapcast-0.25.0-cxx17.patch b/media-sound/snapcast/files/snapcast-0.25.0-cxx17.patch
new file mode 100644
index 00000000000..f6797a62f85
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.25.0-cxx17.patch
@@ -0,0 +1,27 @@
+https://gitlab.exherbo.org/exherbo/media/-/blob/master/packages/net-apps/snapcast/files/snapcast-Set-CMAKE_CXX_STANDARD-to-17.patch
+
+From 9858c60109c5d4aa09c26d1cb44be5c056849a36 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Fri, 15 Oct 2021 23:55:39 +0200
+Subject: [PATCH] Set CMAKE_CXX_STANDARD to 17
+
+Fixes the build with boost[>=1.77.0] and we shouldn't have compilers
+which don't support it.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4381a71c..5373f658 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -127,7 +127,7 @@ if(NOT ANDROID)
+ endif()
+
+ # Configure compiler options
+-set(CMAKE_CXX_STANDARD 14)
++set(CMAKE_CXX_STANDARD 17)
+
+ # Get arch
+ include(${CMAKE_SOURCE_DIR}/cmake/TargetArch.cmake)
+
diff --git a/media-sound/snapcast/snapcast-0.25.0-r1.ebuild b/media-sound/snapcast/snapcast-0.25.0-r1.ebuild
index 093e6dafcf7..c969b0dbde4 100644
--- a/media-sound/snapcast/snapcast-0.25.0-r1.ebuild
+++ b/media-sound/snapcast/snapcast-0.25.0-r1.ebuild
@@ -39,7 +39,10 @@ DEPEND="
>=dev-cpp/popl-1.2.0
"
-PATCHES=( "${FILESDIR}"/${PN}-0.20.0-gcc-11.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.20.0-gcc-11.patch
+ "${FILESDIR}"/${P}-cxx17.patch
+)
src_configure() {
local mycmakeargs=(
next reply other threads:[~2021-11-06 19:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 19:40 Jakov Smolić [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-15 8:37 [gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/, media-sound/snapcast/files/ Sam James
2023-04-15 9:32 Sam James
2018-10-26 12:26 Michał Górny
2018-10-07 17:02 Thomas Deutschmann
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=1636227617.4f80001703d1300bf35141adcfca5593da5fdb9f.jsmolic@gentoo \
--to=jsmolic@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