games-action/teeworlds: bump cmake version

Already fixed upstream but, given they had some conditional changes
related to version, just bump it to reasonable version rather than
try to backport.

Closes: https://bugs.gentoo.org/957687
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-04-23 06:01:20 -04:00
parent 5cf0f8deed
commit 6870487262
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,10 @@
Upstream had several cmake version-related changes like [1] but staying
conservative in this old release for [2].
[1] https://github.com/teeworlds/teeworlds/commit/15dbf346
[2] https://bugs.gentoo.org/957687
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1 +1 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...3.16)
@@ -37,6 +37,10 @@ BDEPEND="
test? ( dev-cpp/gtest )
"
PATCHES=(
"${FILESDIR}"/${P}-cmake4.patch
)
src_configure() {
append-flags -fno-strict-aliasing #858524