[Buildroot] [git commit branch/next] package/libsoxr: fix cmake 4 compatibility

Julien Olivain ju.o at free.fr
Sun Dec 7 15:05:55 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=cac00e41b7e802fb4c9163bc50aa8036b85c16cf
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 .../0002-allow-compile-with-cmake-4.0.0.patch      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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 <rudi at heitbaum.com>
+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 <bernd at kuhls.net>
+---
+ 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 at 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
+


More information about the buildroot mailing list