mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
media-sound/milkytracker: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/957762 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
ae9d9745a1
commit
4d7987f712
@ -0,0 +1,15 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -156,11 +156,7 @@
|
||||
message(STATUS "Enabled MIDI support (WinMM)")
|
||||
add_subdirectory(src/midi)
|
||||
else()
|
||||
- # Workaround for SDL bug #3295, which occurs in SDL2 <2.0.5
|
||||
- # https://bugzilla.libsdl.org/show_bug.cgi?id=3295
|
||||
- cmake_policy(SET CMP0004 OLD)
|
||||
-
|
||||
- find_package(SDL2 REQUIRED)
|
||||
+ find_package(SDL2 2.0.5 REQUIRED)
|
||||
endif()
|
||||
|
||||
# Prefer static linkage under OS X for libraries located with find_package()
|
||||
@ -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
|
||||
@ -28,6 +28,7 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.04.00-cxx-std.patch
|
||||
"${FILESDIR}"/${P}-cmake4.patch # bug 957762
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user