diff --git a/packages/audio/ldacBT/patches/ldacBT-1-build-with-cmake-4.0.0.patch b/packages/audio/ldacBT/patches/ldacBT-1-build-with-cmake-4.0.0.patch new file mode 100644 index 0000000000..ab3c66fc83 --- /dev/null +++ b/packages/audio/ldacBT/patches/ldacBT-1-build-with-cmake-4.0.0.patch @@ -0,0 +1,22 @@ +From 7c6911cd9dc4459807c345f693bcbeafb4307059 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Tue, 15 Apr 2025 00:01:39 +1000 +Subject: [PATCH] Allow build with CMake 4.0.0 + +use min...max syntax to allow build with newer cmake. + +ref: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7739887..ecbf6da 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.0...3.10) + project(libldac + LANGUAGES C + VERSION 2.0.2.3)