From 8a87d20fd7f16f80f10a15c1f24230e9257e97c5 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Tue, 7 Oct 2025 19:07:47 +0300 Subject: [PATCH] lzo: adjust for cmake 4.x compatibility Patch CMakeLists.txt to fulfill cmake 4.0 requirements of cmake_minimum_required being at least 3.5 and in future 3.10. Signed-off-by: Hannu Nyman --- libs/lzo/Makefile | 2 +- libs/lzo/patches/002-cmake-4.0-compatibility.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/lzo/patches/002-cmake-4.0-compatibility.patch diff --git a/libs/lzo/Makefile b/libs/lzo/Makefile index 2a746301ff..2808392fee 100644 --- a/libs/lzo/Makefile +++ b/libs/lzo/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lzo PKG_VERSION:=2.10 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/ diff --git a/libs/lzo/patches/002-cmake-4.0-compatibility.patch b/libs/lzo/patches/002-cmake-4.0-compatibility.patch new file mode 100644 index 0000000000..90b551ab32 --- /dev/null +++ b/libs/lzo/patches/002-cmake-4.0-compatibility.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,7 +8,7 @@ + # All Rights Reserved. + # + +-cmake_minimum_required(VERSION 3.0 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.10) + + # + # simple usage example (Unix):