Upgrade KUKSA.val components to 0.4.0 releases
[AGL/meta-agl-demo.git] / recipes-connectivity / kuksa-val / kuksa-val / 0001-Make-Boost-requirements-more-liberal.patch
index e351f02..2441916 100644 (file)
@@ -1,29 +1,30 @@
-From 6c1495df3c78a2e7d86ec141950f342835c0b8c7 Mon Sep 17 00:00:00 2001
+From 69a64b4426fdeff1c1e098941496deda5ad3ea31 Mon Sep 17 00:00:00 2001
 From: Scott Murray <scott.murray@konsulko.com>
-Date: Mon, 23 May 2022 14:59:33 -0400
-Subject: [PATCH 1/4] Make Boost requirements more liberal
+Date: Thu, 6 Oct 2022 11:56:38 -0400
+Subject: [PATCH 1/5] Make Boost requirements more liberal
 
-To allow building with Yocto Project 3.1/dunfell or newer releases,
-tweak the version requirement in boost.cmake to 1.72.0 and remove the
-EXACT specifier from the find_package call.
+To allow building with Yocto Project 4.0/kirkstone, remove the EXACT
+specifier from the Boost find_package call and restore the lower
+Boost version originally specified before upstream commit 7ea6026d
+raised it due to issues with the in-tree build.
 
 Upstream-Status: Pending
 
 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
 ---
- boost.cmake | 4 ++--
kuksa-val-server/boost.cmake | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/boost.cmake b/boost.cmake
-index 9f0e512..2dff60a 100644
---- a/boost.cmake
-+++ b/boost.cmake
-@@ -11,14 +11,14 @@
- # *****************************************************************************
+diff --git a/kuksa-val-server/boost.cmake b/kuksa-val-server/boost.cmake
+index 7358976..0da54df 100644
+--- a/kuksa-val-server/boost.cmake
++++ b/kuksa-val-server/boost.cmake
+@@ -19,14 +19,14 @@
+ # 4. Change version in main README.md file for KUKSA.val Server
  
  set(Boost_USE_STATIC_LIBS OFF)
--set(BOOST_VER 1.75.0)
-+set(BOOST_VER 1.72.0)
+-set(BOOST_VER 1.82.0)
++set(BOOST_VER 1.75.0)
  set(Boost_NO_BOOST_CMAKE ON)
  set(BOOST_COMPONENTS filesystem program_options system log thread)
  ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
@@ -36,5 +37,5 @@ index 9f0e512..2dff60a 100644
          OPTIONAL_COMPONENTS unit_test_framework
      )
 -- 
-2.35.1
+2.41.0