mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
media-libs/simage: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/952022 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
723bd40c19
commit
b2d47b8569
19
media-libs/simage/files/simage-1.8.3-cmake4.patch
Normal file
19
media-libs/simage/files/simage-1.8.3-cmake4.patch
Normal file
@ -0,0 +1,19 @@
|
||||
From 0d69e6f9e23a13406d49fe3dc855885046408162 Mon Sep 17 00:00:00 2001
|
||||
From: Volker Enderlein <volkerenderlein@hotmail.com>
|
||||
Date: Tue, 1 Apr 2025 20:22:45 +0200
|
||||
Subject: [PATCH] Adapt cmake_minimum_required command for usage with CMake 4.0
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 835c498..276178d 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.0...3.29)
|
||||
|
||||
set(SIMAGE_MAJOR_VERSION 1)
|
||||
set(SIMAGE_MINOR_VERSION 8)
|
||||
@ -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
|
||||
|
||||
EAPI=8
|
||||
@ -48,6 +48,7 @@ BDEPEND="test? ( media-libs/libsndfile )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-cmake4.patch # bug 952022
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user