Skip to contentSkip to conversation

kronosnet: Upgrade to 1.31

PATCH New Khem Raj 1 participant 2 messages Sep 8, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 kronosnet: Upgrade to 1.31

Drop Upstreamed patch

---
 .../0001-links.c-Fix-build-with-gcc-12.patch  | 40 -------------------
 .../{kronosnet_1.24.bb => kronosnet_1.31.bb}  |  6 +--
 2 files changed, 2 insertions(+), 44 deletions(-)
 delete mode 100644 meta-networking/recipes-extended/kronosnet/kronosnet/0001-links.c-Fix-build-with-gcc-12.patch
 rename meta-networking/recipes-extended/kronosnet/{kronosnet_1.24.bb => kronosnet_1.31.bb} (90%)
meta-networking/recipes-extended/kronosnet/kronosnet/0001-links.c-Fix-build-with-gcc-12.patch deleted +0 -40
deleted file mode 100644
index d57d0e61b5..0000000000
@@ -1,40 +0,0 @@
-From a8aac8f3fd8b07fde8f5dc0aa9ece54a46d24425 Mon Sep 17 00:00:00 2001
-From: Mingli Yu <[email protected]>
-Date: Thu, 9 Jun 2022 16:03:06 +0800
-Subject: [PATCH] links.c: Fix build with gcc-12
-
-Fixes:
-  | /build/tmp-glibc/work/corei7-64-wrs-linux/kronosnet/1.22-r0/recipe-sysroot/usr/include/bits/string_fortified.h:59:10: error: 'link' may be used uninitialized [-Werror=maybe-uninitialized]
-  |    59 |   return __builtin___memset_chk (__dest, __ch, __len,
-  |       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-  |    60 |                                  __glibc_objsize0 (__dest));
-  |       |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
-  | ../../git/libknet/links.c: In function 'knet_link_set_config':
-  | ../../git/libknet/links.c:108:27: note: 'link' was declared here
-  |   108 |         struct knet_link *link;
-  |       |                           ^~~~
-  | cc1: all warnings being treated as errors
-
-Upstream-Status: Submitted [https://github.com/kronosnet/kronosnet/pull/382]
-
-Signed-off-by: Mingli Yu <[email protected]>
----
- libknet/links.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libknet/links.c b/libknet/links.c
-index 8cb1621b..0ef42b79 100644
---- a/libknet/links.c
-+++ b/libknet/links.c
-@@ -105,7 +105,7 @@ int knet_link_set_config(knet_handle_t knet_h, knet_node_id_t host_id, uint8_t l
- {
- 	int savederrno = 0, err = 0, i, wipelink = 0, link_idx;
- 	struct knet_host *host, *tmp_host;
--	struct knet_link *link;
-+	struct knet_link *link = NULL;
- 
- 	if (!_is_valid_handle(knet_h)) {
- 		return -1;
--- 
-2.25.1
-
meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb renamed from meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb +2 -4
similarity index 90%
rename from meta-networking/recipes-extended/kronosnet/kronosnet_1.24.bb
rename to meta-networking/recipes-extended/kronosnet/kronosnet_1.31.bb
index 06b2fa4d2d..d4b76903c4 100644
@@ -11,10 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING.applications;md5=751419260aa954499f7abaabaa88
 SECTION = "libs"
 DEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd"
 
-SRCREV = "f8f80fd7f9b85f2626d2c6452612962ad8efca9e"
-SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \
-           file://0001-links.c-Fix-build-with-gcc-12.patch \
-           "
+SRCREV = "da73f2a1e0ffe2aee15d4f705edf90ee8445e2d4"
+SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1;tag=v${PV}"
 
 UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
 
author
#1 lore raw

PATCH 2/2 python3-txws: Switch to pypi for fetching

This helps build when using shallow clones for git repos by default

e.g.

| vcversioner: no VCS could be detected in '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1' and '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1/version.txt' isn't present. | vcversioner: are you installing from a github tarball?

---
 .../recipes-connectivity/python-txws/python3-txws_0.9.1.bb  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb +3 -3
index 205775ef63..9299539cef 100644
@@ -11,8 +11,8 @@ RDEPENDS:${PN} += " \
     python3-twisted \
 "
 
-SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https"
-SRCREV = "88cf6d9b9b685ffa1720644bd53c742afb10a414"
+inherit setuptools3 pypi
 
+PYPI_PACKAGE = "txWS"
 
-inherit setuptools3
+SRC_URI[sha256sum] = "cb93086095d04a5d70f53a75053f7df478ff37e972c3637fb55ca4a9e6b94679"