mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user