commit:     9349d194670cc9d1adc7fe76a21ca14170bc6bef
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 29 04:36:32 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 04:36:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9349d194

media-sound/linuxsampler: fixed compilation with gcc11

Closes: https://bugs.gentoo.org/786255
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/linuxsampler/linuxsampler-2.1.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild 
b/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
index d12a254629b..7236b6df4f2 100644
--- a/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Software audio sampler engine with professional grade features"
 HOMEPAGE="https://www.linuxsampler.org/";
@@ -49,6 +49,8 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cxxflags -std=c++14
+
        local myeconfargs=(
                --disable-arts-driver
                --disable-static

Reply via email to