From 4012fef858f98dd3014ed2dd2194f44574950ff2 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Fri, 28 Mar 2025 07:59:21 +0000 Subject: [PATCH] vdr-plugin-robotv: allow build with cmake-4.0.0 --- ...gin-robotv-22-build-with-cmake-4.0.0.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packages/addons/addon-depends/vdr-plugins/vdr-plugin-robotv/patches/vdr-plugin-robotv-22-build-with-cmake-4.0.0.patch diff --git a/packages/addons/addon-depends/vdr-plugins/vdr-plugin-robotv/patches/vdr-plugin-robotv-22-build-with-cmake-4.0.0.patch b/packages/addons/addon-depends/vdr-plugins/vdr-plugin-robotv/patches/vdr-plugin-robotv-22-build-with-cmake-4.0.0.patch new file mode 100644 index 0000000000..ed88214609 --- /dev/null +++ b/packages/addons/addon-depends/vdr-plugins/vdr-plugin-robotv/patches/vdr-plugin-robotv-22-build-with-cmake-4.0.0.patch @@ -0,0 +1,34 @@ +From 1d1df90bc57455453e0561885aed4680f6561d3a Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Fri, 28 Mar 2025 07:54:49 +0000 +Subject: [PATCH] [cmake] 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 + +Signed-off-by: Rudi Heitbaum +--- + CMakeLists.txt | 2 +- + src/demuxer/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index dff9943..5473bba 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 2.8...3.10) + project(robotv) + + set(PLUGIN "robotv") +diff --git a/src/demuxer/CMakeLists.txt b/src/demuxer/CMakeLists.txt +index 8b53c75..7906a0a 100644 +--- a/src/demuxer/CMakeLists.txt ++++ b/src/demuxer/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 2.8...3.10) + project(robotvdmx) + + # set C++11 for robotv