summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2021-09-19 06:24:25 +0100
committerSam James <sam@gentoo.org>2021-09-19 06:42:40 +0100
commitcf2415df1ebc1296ae6e59dc58f3c08d297b79ab (patch)
tree34d55a2b08fd8f4a09ea25b5ddbdb41726f9eb23 /media-sound
parentdev-libs/keystone: add 0.9.2 (diff)
downloadgentoo-cf2415df1ebc1296ae6e59dc58f3c08d297b79ab.tar.gz
gentoo-cf2415df1ebc1296ae6e59dc58f3c08d297b79ab.tar.bz2
gentoo-cf2415df1ebc1296ae6e59dc58f3c08d297b79ab.zip
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@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ecasound/ecasound-2.9.3.ebuild8
1 files 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 7cdadd6983e4..3b3f4545b17f 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
}