commit:     5c85b298fa9c9f2e7d808d10b75bc48994951bc6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 02:54:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 11 03:15:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c85b298

media-sound/splay: build w/ c++14 (-Wregister)

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

 media-sound/splay/splay-0.9.5.2-r2.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/media-sound/splay/splay-0.9.5.2-r2.ebuild 
b/media-sound/splay/splay-0.9.5.2-r2.ebuild
index b66657bceebf..df9a369f7c09 100644
--- a/media-sound/splay/splay-0.9.5.2-r2.ebuild
+++ b/media-sound/splay/splay-0.9.5.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="An audio player, primarily for the console"
 HOMEPAGE="http://splay.sourceforge.net/";
@@ -28,3 +28,9 @@ src_prepare() {
        mv configure.{in,ac} || die
        eautoreconf
 }
+
+src_configure() {
+       append-cxxflags -std=c++14
+
+       default
+}

Reply via email to