commit: 3346ee91c8195114796e42e18c7e20a25bbb1717
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 05:42:51 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 05:43:41 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3346ee91
games-simulation/EmptyEpsilon: drop bogus GCC check
The ebuild doesn't depend on media-libs/libsfml but also, that error
generally appears when something C++ was built against newer GCC and
then you're trying to link against it using older GCC (=> older libstdc++).
Besides, <11 is masked and has been for a while.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../EmptyEpsilon/EmptyEpsilon-2022.10.28.ebuild | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/games-simulation/EmptyEpsilon/EmptyEpsilon-2022.10.28.ebuild
b/games-simulation/EmptyEpsilon/EmptyEpsilon-2022.10.28.ebuild
index 2e760b51db7f..1f1c5dd24e42 100644
--- a/games-simulation/EmptyEpsilon/EmptyEpsilon-2022.10.28.ebuild
+++ b/games-simulation/EmptyEpsilon/EmptyEpsilon-2022.10.28.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake
# basis_universal version
MY_BU_VER="1_15_update2"
@@ -46,18 +46,6 @@ PATCHES=(
"${FILESDIR}/${PN}-cmake-meshoptimizer.patch"
)
-pkg_pretend() {
- [[ ${MERGE_TYPE} == "binary" ]] && return
-
- if tc-is-gcc; then
- if [[ $(gcc-major-version) -lt 11 ]]; then
- # ld: /usr/lib64/libsfml-audio.so: undefined reference
to `std::__throw_bad_array_new_length()@GLIBCXX_3.a4.29'
- eerror "${PN} requires GCC >= 11. Run gcc-config to
switch your default compiler."
- die "Need at least GCC >= 11"
- fi
- fi
-}
-
src_prepare() {
cmake_src_prepare