gentoo-ebuilds/media-sound/apulse/files/apulse-0.1.13-cmakever.patch
Alexey Sokolov cd9c4fdf1c
media-sound/apulse: fix build with cmake 4
Closes: https://bugs.gentoo.org/953973
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/41637
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-04-19 18:47:35 +03:00

11 lines
316 B
Diff

https://github.com/i-rinat/apulse/pull/128
https://bugs.gentoo.org/953973
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
project(apulse)
-cmake_minimum_required (VERSION 2.8)
+cmake_minimum_required (VERSION 2.8...4.0)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -fPIC -fvisibility=hidden")