mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-libs/libebur128: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/952797 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
19e3406b7f
commit
921c8b362b
15
media-libs/libebur128/files/libebur128-1.2.6-cmake4.patch
Normal file
15
media-libs/libebur128/files/libebur128-1.2.6-cmake4.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.16...3.31)
|
||||
project(libebur128 C)
|
||||
|
||||
option(BUILD_SHARED_LIBS
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -1,4 +1,3 @@
|
||||
-cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
set(ENABLE_TESTS OFF CACHE BOOL "Build test binaries, needs libsndfile")
|
||||
set(ENABLE_FUZZER OFF CACHE BOOL "Build fuzzer binary")
|
||||
@ -24,6 +24,8 @@ DEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 952797
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_INTERNAL_QUEUE_H=OFF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user