mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/libgaminggear: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/957468 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
9ca9c2bb26
commit
8ec7ce2dd9
@ -0,0 +1,14 @@
|
|||||||
|
Source: https://aur.archlinux.org/cgit/aur.git/commit/cmake_min_version.patch?h=libgaminggear
|
||||||
|
|
||||||
|
diff -aur a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
--- a/CMakeLists.txt 2025-05-20 21:15:11.039131000 +0200
|
||||||
|
+++ b/CMakeLists.txt 2025-05-20 21:12:28.666031016 +0200
|
||||||
|
@@ -1,7 +1,4 @@
|
||||||
|
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
||||||
|
-IF(POLICY CMP0022)
|
||||||
|
- CMAKE_POLICY(SET CMP0022 OLD)
|
||||||
|
-ENDIF()
|
||||||
|
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
|
||||||
|
|
||||||
|
PROJECT(libgaminggear C)
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -36,6 +36,7 @@ BDEPEND="
|
|||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${PN}-0.10.0-doc.patch
|
"${FILESDIR}"/${PN}-0.10.0-doc.patch
|
||||||
"${FILESDIR}"/${P}-cmake-3.13.patch
|
"${FILESDIR}"/${P}-cmake-3.13.patch
|
||||||
|
"${FILESDIR}"/${P}-cmake4.patch # bug 957468
|
||||||
)
|
)
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user