commit:     4844ae6805cc0eae91579bb9a8350e3c0a3f77e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  2 18:32:15 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 18:32:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4844ae68

sci-electronics/pulseview: build w/ -std=c++17

As Jannik mentions in the bug, modern Boost needs >= C++14, so crank
up the version used. This is fixed upstream in the git repo but not
in a release.

Closes: https://bugs.gentoo.org/946610
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/pulseview/pulseview-0.4.2-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/pulseview/pulseview-0.4.2-r1.ebuild 
b/sci-electronics/pulseview/pulseview-0.4.2-r1.ebuild
index 0b5446455b34..97332060d41f 100644
--- a/sci-electronics/pulseview/pulseview-0.4.2-r1.ebuild
+++ b/sci-electronics/pulseview/pulseview-0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -50,6 +50,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # Needed for modern Boost (bug #946610).
+       # Drop this on bump > 0.4.2.
+       sed -i -e 's:-std=c++11:-std=c++17:' CMakeLists.txt || die
+
        local mycmakeargs=(
                -DDISABLE_WERROR=TRUE
                -DENABLE_DECODE=$(usex decode)

Reply via email to