From c345259bec0d8f00e949af9cf6d6b6f2ce770b5a Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 17 May 2022 01:31:48 +0000 Subject: [PATCH] games-strategy/wesnoth: [QA] drop (very) stale GCC version checks There's no way that GCC 3.x is usable on a modern system and it was released in ~2005. Signed-off-by: Sam James --- games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild | 6 +----- games-strategy/wesnoth/wesnoth-1.16.2.ebuild | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild index 12aaafe9867e..f5718459c555 100644 --- a/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake flag-o-matic toolchain-funcs xdg +inherit cmake flag-o-matic xdg DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" HOMEPAGE="http://www.wesnoth.org @@ -64,10 +64,6 @@ src_prepare() { src_configure() { filter-flags -ftracer -fomit-frame-pointer - if [[ $(gcc-major-version) -eq 3 ]] ; then - filter-flags -fstack-protector - append-flags -fno-stack-protector - fi if use dedicated || use server ; then mycmakeargs=( diff --git a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild b/games-strategy/wesnoth/wesnoth-1.16.2.ebuild index 9c2f089d6905..17cdd9a055f7 100644 --- a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.16.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake flag-o-matic toolchain-funcs xdg +inherit cmake flag-o-matic xdg DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" HOMEPAGE="http://www.wesnoth.org @@ -64,10 +64,6 @@ src_prepare() { src_configure() { filter-flags -ftracer -fomit-frame-pointer - if [[ $(gcc-major-version) -eq 3 ]] ; then - filter-flags -fstack-protector - append-flags -fno-stack-protector - fi if use dedicated || use server ; then mycmakeargs=(