From 3346ee91c8195114796e42e18c7e20a25bbb1717 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 10 Mar 2025 05:42:51 +0000 Subject: [PATCH] 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 --- .../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 2e760b51db7f3..1f1c5dd24e422 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