From a0d0a9321b89ebe3b7cfcc3a4b034fc16245e0a6 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Fri, 28 Mar 2025 05:37:29 +0000 Subject: [PATCH] libsndfile: allow build with cmake-4.0.0 --- .../libsndfile-1073-build-with-cmake-4.0.0.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/audio/libsndfile/patches/libsndfile-1073-build-with-cmake-4.0.0.patch diff --git a/packages/audio/libsndfile/patches/libsndfile-1073-build-with-cmake-4.0.0.patch b/packages/audio/libsndfile/patches/libsndfile-1073-build-with-cmake-4.0.0.patch new file mode 100644 index 0000000000..a2fbedbc37 --- /dev/null +++ b/packages/audio/libsndfile/patches/libsndfile-1073-build-with-cmake-4.0.0.patch @@ -0,0 +1,10 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e3d91c0ea..c41bbce03 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 3.1..3.18) ++cmake_minimum_required (VERSION 3.1...3.18) + + # MSVC runtime library flags are selected by an abstraction, CMake >= 3.15 + # This policy still need to be set even with cmake_minimum_required() command above.