From 07dcf5bb10c4f2df9f85f9922f3f03f9806b86a6 Mon Sep 17 00:00:00 2001 From: Kerin Millar Date: Sun, 19 Sep 2021 06:24:25 +0100 Subject: [PATCH] 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 --- 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 7cdadd698..3b3f4545b 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 } -- 2.33.0