From cac00e41b7e802fb4c9163bc50aa8036b85c16cf Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 3 Dec 2025 22:47:02 +0100 Subject: [PATCH] package/libsoxr: fix cmake 4 compatibility Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain --- .../0002-allow-compile-with-cmake-4.0.0.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch diff --git a/package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch b/package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch new file mode 100644 index 0000000000..34ec44b671 --- /dev/null +++ b/package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch @@ -0,0 +1,28 @@ +From c157f862ecca9a0613e25c2058aceb127ee4ea4f Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Fri, 28 Mar 2025 13:47:55 +0000 +Subject: [PATCH] allow compile with cmake 4.0.0 + +Upstream: https://sourceforge.net/p/soxr/code/merge-requests/6/ + +Signed-off-by: Bernd Kuhls +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ee48f6c..2eea1e9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net + # Licence for this file: LGPL v2.1 See LICENCE for details. + +-cmake_minimum_required (VERSION 3.1 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.1...3.10 FATAL_ERROR) + + project (soxr C) + set (DESCRIPTION_SUMMARY +-- +2.47.3 +