From 026302c6b26ea244463103baa04d5a51b237300b Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 9 Nov 2025 08:36:33 +0200 Subject: [PATCH] libsoxr: Add cmake 4.x compatibility Add compatibility with cmake 4.x. Signed-off-by: Hannu Nyman --- libs/libsoxr/Makefile | 2 +- libs/libsoxr/patches/001-fix-cmake4.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/libsoxr/patches/001-fix-cmake4.patch diff --git a/libs/libsoxr/Makefile b/libs/libsoxr/Makefile index b1b20f36ba..bc53a722f5 100644 --- a/libs/libsoxr/Makefile +++ b/libs/libsoxr/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsoxr PKG_VERSION:=0.1.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=@SF/project/soxr/ PKG_SOURCE:=soxr-$(PKG_VERSION)-Source.tar.xz diff --git a/libs/libsoxr/patches/001-fix-cmake4.patch b/libs/libsoxr/patches/001-fix-cmake4.patch new file mode 100644 index 0000000000..f4e92e559a --- /dev/null +++ b/libs/libsoxr/patches/001-fix-cmake4.patch @@ -0,0 +1,11 @@ +--- 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.10) + + project (soxr C) + set (DESCRIPTION_SUMMARY