1 |
commit: cf2415df1ebc1296ae6e59dc58f3c08d297b79ab |
2 |
Author: Kerin Millar <kfm <AT> plushkava <DOT> net> |
3 |
AuthorDate: Sun Sep 19 05:24:25 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 19 05:42:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2415df |
7 |
|
8 |
media-sound/ecasound: build with -std=c++11 |
9 |
|
10 |
To specify the c++98 dialect is no longer compatible with lilv. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/751583 |
13 |
Closes: https://bugs.gentoo.org/787620 |
14 |
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
media-sound/ecasound/ecasound-2.9.3.ebuild | 8 ++++---- |
18 |
1 file changed, 4 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/media-sound/ecasound/ecasound-2.9.3.ebuild b/media-sound/ecasound/ecasound-2.9.3.ebuild |
21 |
index 7cdadd6983e..3b3f4545b17 100644 |
22 |
--- a/media-sound/ecasound/ecasound-2.9.3.ebuild |
23 |
+++ b/media-sound/ecasound/ecasound-2.9.3.ebuild |
24 |
@@ -35,6 +35,7 @@ RDEPEND="sys-libs/readline:0= |
25 |
sndfile? ( media-libs/libsndfile:= )" |
26 |
DEPEND="${RDEPEND} |
27 |
virtual/pkgconfig" |
28 |
+BDEPEND="sys-apps/ed" |
29 |
PATCHES=( |
30 |
"${FILESDIR}"/${P}-ldflags.patch |
31 |
"${FILESDIR}"/${PN}-2.9.1-tinfo.patch |
32 |
@@ -47,10 +48,9 @@ pkg_setup() { |
33 |
src_prepare() { |
34 |
default |
35 |
|
36 |
-# if use python ; then |
37 |
-# sed -i -e "s:\$(ecasoundc_libs):\0 $(python_get_library -l):" \ |
38 |
-# pyecasound/Makefile.am || die "sed failed" |
39 |
-# fi |
40 |
+ # https://bugs.gentoo.org/787620 |
41 |
+ printf '%s\n' H '/^EXTRACXXFLAGS="-std=c++98"$/s/98/11/' w q | |
42 |
+ ed -s configure.ac || die "Couldn't patch EXTRACXXFLAGS in configure.ac" |
43 |
|
44 |
eautoreconf |
45 |
} |