diff --git a/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch b/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch index 9c5438f30e..24935bb1d9 100644 --- a/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch +++ b/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch @@ -1,4 +1,4 @@ -From 5448ca9d92f7fa197060323a82a5f060ce7c31e7 Mon Sep 17 00:00:00 2001 +From 5ccdd0f15ca3fc1c57b517bf325d572a5398e3cd Mon Sep 17 00:00:00 2001 From: Pierre-Jean Texier Date: Wed, 22 May 2019 10:26:27 +0200 Subject: [PATCH] src/CMakeLists.txt: do not force the build of a shared @@ -26,10 +26,10 @@ Signed-off-by: Pierre-Jean Texier 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 4b71bc5..0b515f4 100644 +index 3370232..efa9840 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt -@@ -15,17 +15,15 @@ SET(include_HEADERS +@@ -19,11 +19,9 @@ SET(include_HEADERS include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable @@ -40,7 +40,9 @@ index 4b71bc5..0b515f4 100644 -ADD_LIBRARY(ubootenv_static STATIC ${libubootenv_SOURCES} ${include_HEADERS}) -SET_TARGET_PROPERTIES(ubootenv_static PROPERTIES OUTPUT_NAME ubootenv) add_executable(fw_printenv fw_printenv.c) - target_link_libraries(ubootenv z yaml) + target_link_libraries(ubootenv z) + if (NOT NO_YML_SUPPORT) +@@ -33,7 +31,7 @@ endif(NOT NO_YML_SUPPORT) target_link_libraries(fw_printenv ubootenv) add_custom_target(fw_setenv ALL ${CMAKE_COMMAND} -E create_symlink fw_printenv fw_setenv) @@ -50,5 +52,5 @@ index 4b71bc5..0b515f4 100644 install (TARGETS fw_printenv DESTINATION ${CMAKE_INSTALL_BINDIR}) install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/fw_setenv DESTINATION ${CMAKE_INSTALL_BINDIR}) -- -2.30.2 +2.43.0 diff --git a/package/libubootenv/0002-Update-cmake_minimum_required-to-3.5.patch b/package/libubootenv/0002-Update-cmake_minimum_required-to-3.5.patch deleted file mode 100644 index 531623bc53..0000000000 --- a/package/libubootenv/0002-Update-cmake_minimum_required-to-3.5.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 87581f45d442903af8a9f331b11052bdd836c7f6 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Wed, 14 May 2025 14:03:38 -0600 -Subject: [PATCH] Update cmake_minimum_required to 3.5 - -This supports compilation with cmake-4.0.0. - -Fixes: -CMake Error at CMakeLists.txt:5 (cmake_minimum_required): - Compatibility with CMake < 3.5 has been removed from CMake. - - Update the VERSION argument value. Or, use the ... syntax - to tell CMake that the project requires at least but has been updated - to work with policies introduced by or earlier. - - Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. - -Signed-off-by: James Hilliard -Upstream: https://patchwork.ozlabs.org/project/swupdate/patch/20250514201740.686772-1-james.hilliard1@gmail.com/ ---- - CMakeLists.txt | 2 +- - src/CMakeLists.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 796d7bc..0a11730 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -2,7 +2,7 @@ - # - # SPDX-License-Identifier: LGPL-2.1-or-later - --cmake_minimum_required (VERSION 2.6) -+cmake_minimum_required (VERSION 3.5) - project (libubootenv C) - - # The version number. -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index c56d0c7..3370232 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1,7 +1,7 @@ - # SPDX-FileCopyrightText: 2019-2021 Stefano Babic - # - # SPDX-License-Identifier: LGPL-2.1-or-later --cmake_minimum_required (VERSION 2.6) -+cmake_minimum_required (VERSION 3.5) - # Sources and private headers - SET(libubootenv_SOURCES - uboot_env.c --- -2.34.1 - diff --git a/package/libubootenv/libubootenv.hash b/package/libubootenv/libubootenv.hash index 986b651e42..4b48c5527c 100644 --- a/package/libubootenv/libubootenv.hash +++ b/package/libubootenv/libubootenv.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 7946006781ad518aac1f06e2ad7e0281e4ece3d59e9616cccb01fd0c169a3e0b libubootenv-0.3.6.tar.gz +sha256 92021fc5a0a965030588d0c867a771d28b28c0d17c9fd022f0dafe9f01de714e libubootenv-0.3.7.tar.gz sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt diff --git a/package/libubootenv/libubootenv.mk b/package/libubootenv/libubootenv.mk index 5c2c36e90b..b18486af6f 100644 --- a/package/libubootenv/libubootenv.mk +++ b/package/libubootenv/libubootenv.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBUBOOTENV_VERSION = 0.3.6 +LIBUBOOTENV_VERSION = 0.3.7 LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,v$(LIBUBOOTENV_VERSION)) LIBUBOOTENV_LICENSE = LGPL-2.1+, MIT, CC0-1.0 LIBUBOOTENV_LICENSE_FILES = LICENSES/CC0-1.0.txt \