commit:     cf2415df1ebc1296ae6e59dc58f3c08d297b79ab
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Sep 19 05:24:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 05:42:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2415df

media-sound/ecasound: build with -std=c++11

To specify the c++98 dialect is no longer compatible with lilv.

Closes: https://bugs.gentoo.org/751583
Closes: https://bugs.gentoo.org/787620
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/ecasound/ecasound-2.9.3.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-sound/ecasound/ecasound-2.9.3.ebuild 
b/media-sound/ecasound/ecasound-2.9.3.ebuild
index 7cdadd6983e..3b3f4545b17 100644
--- a/media-sound/ecasound/ecasound-2.9.3.ebuild
+++ b/media-sound/ecasound/ecasound-2.9.3.ebuild
@@ -35,6 +35,7 @@ RDEPEND="sys-libs/readline:0=
        sndfile? ( media-libs/libsndfile:= )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
+BDEPEND="sys-apps/ed"
 PATCHES=(
        "${FILESDIR}"/${P}-ldflags.patch
        "${FILESDIR}"/${PN}-2.9.1-tinfo.patch
@@ -47,10 +48,9 @@ pkg_setup() {
 src_prepare() {
        default
 
-#      if use python ; then
-#              sed -i -e "s:\$(ecasoundc_libs):\0 $(python_get_library -l):" \
-#                      pyecasound/Makefile.am || die "sed failed"
-#      fi
+       # https://bugs.gentoo.org/787620
+       printf '%s\n' H '/^EXTRACXXFLAGS="-std=c++98"$/s/98/11/' w q |
+               ed -s configure.ac || die "Couldn't patch EXTRACXXFLAGS in 
configure.ac"
 
        eautoreconf
 }

Reply via email to