diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2025-07-11 12:00:21 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-11 08:35:04 -0700 |
commit | 2a0b7b4aac6fd2561d9728dbc69ad02c4ec0f6ef (patch) | |
tree | ca0122343f8d98bbc4afe33e6861d216c70ee9ab | |
parent | 4efbdb2d27436bf0d0fb2b28a7f09b2553e713dc (diff) | |
download | meta-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.patch | 34 | ||||
-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 @@ | |||
1 | From e30d4c4c557568b01d5adce9df2714de8d3921c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: sewenew <sewe.code@gmail.com> | ||
3 | Date: Tue, 15 Apr 2025 22:57:08 +0800 | ||
4 | Subject: [PATCH] update cmake_minimum_required to 3.5 | ||
5 | |||
6 | Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> | ||
7 | Upstream-Status: Backport [e30d4c4c557568b01d5adce9df2714de8d3921c2] | ||
8 | --- | ||
9 | CMakeLists.txt | 2 +- | ||
10 | test/CMakeLists.txt | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
14 | index 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} = (.+);$") | ||
23 | diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt | ||
24 | index 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 | ||
7 | DEPENDS += "hiredis" | 7 | DEPENDS += "hiredis" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ | 9 | SRC_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" |
11 | SRCREV = "ad6baa121f4c6fbc7622d83d606210ac22549c78" | 11 | SRCREV = "b13fcead60bdc03f9771da25715bb134be89aa2f" |
12 | 12 | ||
13 | 13 | ||
14 | inherit cmake | 14 | inherit cmake |