summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Haase <Moritz.Haase@bmw.de>2025-07-11 12:00:21 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-11 08:35:04 -0700
commit2a0b7b4aac6fd2561d9728dbc69ad02c4ec0f6ef (patch)
treeca0122343f8d98bbc4afe33e6861d216c70ee9ab
parent4efbdb2d27436bf0d0fb2b28a7f09b2553e713dc (diff)
downloadmeta-openembedded-2a0b7b4aac6fd2561d9728dbc69ad02c4ec0f6ef.tar.gz
redis-plus-plus: upgrade 1.3.11 -> 1.3.14
Additionally backport a patch to support to build against CMake 4+ that hasn't made it into a release yet. Release notes are available at [0]. [0]: https://github.com/sewenew/redis-plus-plus/releases Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch34
-rw-r--r--meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.14.bb (renamed from meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb)6
2 files changed, 37 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch b/meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch
new file mode 100644
index 0000000000..02093573ce
--- /dev/null
+++ b/meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch
@@ -0,0 +1,34 @@
1From e30d4c4c557568b01d5adce9df2714de8d3921c2 Mon Sep 17 00:00:00 2001
2From: sewenew <sewe.code@gmail.com>
3Date: Tue, 15 Apr 2025 22:57:08 +0800
4Subject: [PATCH] update cmake_minimum_required to 3.5
5
6Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
7Upstream-Status: Backport [e30d4c4c557568b01d5adce9df2714de8d3921c2]
8---
9 CMakeLists.txt | 2 +-
10 test/CMakeLists.txt | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index e0a8cf4..9c742f9 100644
15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt
17@@ -1,4 +1,4 @@
18-cmake_minimum_required(VERSION 3.1)
19+cmake_minimum_required(VERSION 3.5)
20
21 function(GET_VERSION VERSION_PART VERSION_NUM)
22 set(VERSION_REGEX "^const int VERSION_${VERSION_PART} = (.+);$")
23diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
24index 3423956..88aa079 100644
25--- a/test/CMakeLists.txt
26+++ b/test/CMakeLists.txt
27@@ -1,6 +1,6 @@
28 project(test_redis++)
29
30-cmake_minimum_required(VERSION 3.1)
31+cmake_minimum_required(VERSION 3.5)
32
33 set(REDIS_PLUS_PLUS_TEST_SOURCES src/sw/redis++/test_main.cpp)
34
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.14.bb
index d643c6f0b9..19e68edea8 100644
--- a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb
+++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.14.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6 6
7DEPENDS += "hiredis" 7DEPENDS += "hiredis"
8 8
9SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ 9SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https;tag=${PV} \
10 file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch" 10 file://0001-update-cmake_minimum_required-to-3.5.patch"
11SRCREV = "ad6baa121f4c6fbc7622d83d606210ac22549c78" 11SRCREV = "b13fcead60bdc03f9771da25715bb134be89aa2f"
12 12
13 13
14inherit cmake 14inherit cmake