summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2026-01-10 21:38:07 +0800
committerKhem Raj <raj.khem@gmail.com>2026-01-12 10:25:55 -0800
commitfea43ed974e97dc2c678106595e2970ad795626c (patch)
treed054409e6cbb9a822a5d41e749ffb28552dc2958
parentb891bc7cacaa3b80974affc1fafd02121c7079bb (diff)
downloadmeta-openembedded-fea43ed974e97dc2c678106595e2970ad795626c.tar.gz
nanomsg: upgrade 1.2.1 -> 1.2.2
ChangeLog: https://github.com/nanomsg/nanomsg/releases/tag/1.2.2 Drop 0001-allow-build-with-cmake-4.patch as the issue has been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch57
-rw-r--r--meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.2.bb (renamed from meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb)5
2 files changed, 2 insertions, 60 deletions
diff --git a/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch b/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch
deleted file mode 100644
index f61966134d..0000000000
--- a/meta-networking/recipes-connectivity/nanomsg/nanomsg/0001-allow-build-with-cmake-4.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From 2e293eb9d3753ef87a5e05bc6ac270add0ad8fa8 Mon Sep 17 00:00:00 2001
2From: Alper Ak <alperyasinak1@gmail.com>
3Date: Wed, 9 Jul 2025 13:25:54 +0300
4Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
5 compatibility
6
7Fix:
8
9| CMake Error at CMakeLists.txt:27 (cmake_minimum_required):
10| Compatibility with CMake < 3.5 has been removed from CMake.
11|
12| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
13| to tell CMake that the project requires at least <min> but has been updated
14| to work with policies introduced by <max> or earlier.
15|
16| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
17|
18|
19| -- Configuring incomplete, errors occurred!
20
21Upstream-Status: Submitted [https://github.com/nanomsg/nanomsg/pull/1123]
22
23Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
24---
25 CMakeLists.txt | 2 +-
26 demo/CMakeLists.txt | 2 +-
27 2 files changed, 2 insertions(+), 2 deletions(-)
28
29diff --git a/CMakeLists.txt b/CMakeLists.txt
30index a9ae6a24..2e93724d 100644
31--- a/CMakeLists.txt
32+++ b/CMakeLists.txt
33@@ -24,7 +24,7 @@
34 # IN THE SOFTWARE.
35 #
36
37-cmake_minimum_required (VERSION 2.8.12)
38+cmake_minimum_required (VERSION 3.5)
39
40 project (nanomsg C)
41 include (CheckFunctionExists)
42diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt
43index 4807f160..5ea96c4a 100644
44--- a/demo/CMakeLists.txt
45+++ b/demo/CMakeLists.txt
46@@ -6,7 +6,7 @@
47 #
48 # Thanks for the idea goes to @maddouri.
49 #
50-cmake_minimum_required (VERSION 2.8.7)
51+cmake_minimum_required (VERSION 3.5)
52
53 project(nanomsg-demo)
54
55--
562.43.0
57
diff --git a/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.2.bb
index 3aaf056adf..10ae7a61d7 100644
--- a/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.1.bb
+++ b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.2.bb
@@ -10,10 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755"
10SECTION = "libs/networking" 10SECTION = "libs/networking"
11 11
12SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master \ 12SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master \
13 file://0001-allow-build-with-cmake-4.patch" 13 "
14
15SRCREV = "fc3f684a80151a3319446fc96083a9ff384ee4fe"
16 14
15SRCREV = "ccd7f20c1b756f7041598383baffcdc326246db7"
17 16
18inherit cmake pkgconfig 17inherit cmake pkgconfig
19 18