1 |
commit: 3d14f524eb0d5369e57a0f13127bcd5341732a09 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 1 14:01:04 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 1 14:10:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d14f524 |
7 |
|
8 |
media-sound/easyeffects: update "no C++20 support" error message |
9 |
|
10 |
gcc versions older than 10 require -std value "c++2a" rather than |
11 |
"c++20". Since tests and research conducted by the user who reported |
12 |
this problem show that easyeffects-6 cannot be built using gcc-9 owing |
13 |
to the fact the <ranges> library has only been available in gcc since |
14 |
10.1 (fortunately we do not have to handle the 10.0 case here because |
15 |
the oldest gcc-10 version currently in the tree is 10.3.0), along with |
16 |
the age of gcc-9, we shan't even bother even bother patching meson.build |
17 |
to support the old value. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/830256 |
20 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
21 |
|
22 |
media-sound/easyeffects/easyeffects-6.1.5.ebuild | 4 ++-- |
23 |
1 file changed, 2 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/media-sound/easyeffects/easyeffects-6.1.5.ebuild b/media-sound/easyeffects/easyeffects-6.1.5.ebuild |
26 |
index e2384d6fb9ab..7a4a2e6d2b7d 100644 |
27 |
--- a/media-sound/easyeffects/easyeffects-6.1.5.ebuild |
28 |
+++ b/media-sound/easyeffects/easyeffects-6.1.5.ebuild |
29 |
@@ -1,4 +1,4 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
|
34 |
EAPI=7 |
35 |
@@ -61,7 +61,7 @@ BDEPEND="dev-libs/appstream-glib |
36 |
pkg_pretend() { |
37 |
if [[ ${MERGE_TYPE} != "binary" ]] ; then |
38 |
if ! test-flag-CXX -std=c++20 ; then |
39 |
- die "You need at least GCC 8 or Clang 10 for C++20-specific compiler flags" |
40 |
+ die "${PN} requires degree of C++20 support only available since GCC 10 or Clang 10" |
41 |
fi |
42 |
fi |
43 |
} |