open62541: Upodate for v1.4
PATCH 1/1 open62541: Upodate for v1.4
mets-openembedded bumped the version to 1.4 [1]. We need to remove a few patches that no longer apply and add a new patch to fix a compile issue related to missing the pthread.h file in an include.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=3e3f0eac0f599e92442d8c6c0000eb961d8c4170
--- .../open62541/open62541-arago.inc | 2 +- ...Lists-do-not-install-git-directories.patch | 27 -------- .../0001-examples-Remove-sys-io.h.patch | 68 ------------------- ...blisher_rt_level-Add-missing-pthread.patch | 38 +++++++++++ ...tests-fix-typing-of-size_t-in-printf.patch | 64 ----------------- 5 files changed, 39 insertions(+), 160 deletions(-) delete mode 100644 meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch delete mode 100644 meta-arago-extras/recipes-connectivity/open62541/open62541/0001-examples-Remove-sys-io.h.patch create mode 100644 meta-arago-extras/recipes-connectivity/open62541/open62541/0001-server_pubsub_publisher_rt_level-Add-missing-pthread.patch delete mode 100644 meta-arago-extras/recipes-connectivity/open62541/open62541/0001-tests-fix-typing-of-size_t-in-printf.patch
meta-arago-extras/recipes-connectivity/open62541/open62541-arago.inc +1 -1
@@ -2,7 +2,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/open62541:" SRC_URI:append = " \ file://0001-examples-client-allow-configurable-server.patch \ - file://0001-examples-Remove-sys-io.h.patch \ + file://0001-server_pubsub_publisher_rt_level-Add-missing-pthread.patch \ " EXTRA_OECMAKE = "-DUA_BUILD_EXAMPLES=1"
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From a80cd1702055086e2197851047e2eb65323b7656 Mon Sep 17 00:00:00 2001 -From: Jacob Stiffler <[email protected]> -Date: Thu, 19 Mar 2020 07:40:42 -0400 -Subject: [PATCH] CMakeLists: do not install git directories - -Signed-off-by: Jacob Stiffler <[email protected]> - -Upstream-Status: Pending ---- - CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a7b15c6..264d484 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1350,6 +1350,7 @@ install(DIRECTORY ${UA_install_tools_dirs} - FILES_MATCHING - PATTERN "*" - PATTERN "*.pyc" EXCLUDE -+ PATTERN ".git" EXCLUDE - ) - - install(FILES ${UA_install_tools_files} DESTINATION ${open62541_install_tools_dir}) --- -2.7.4 -
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-examples-Remove-sys-io.h.patch deleted +0 -68
68 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-server_pubsub_publisher_rt_level-Add-missing-pthread.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 7af0f9a29ec011530a2b8c4b60e719e76ce0cdf0 Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +Date: Fri, 16 Jan 2026 16:40:07 -0600 +Subject: [PATCH] server_pubsub_publisher_rt_level: Add missing pthread.h + +Fix for errors: + +open62541-1.4.14/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c:78:5: error: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration] + 78 | pthread_create(&pubSubELThread, NULL, runPubSubEL, NULL); + | ^~~~~~~~~~~~~~ +open62541-1.4.14/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c:78:5: warning: nested extern declaration of 'pthread_create' [-Wnested-externs] +open62541-1.4.14/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c:173:5: error: implicit declaration of function 'pthread_join'; did you mean 'pthread_kill'? [-Wimplicit-function-declaration] + 173 | pthread_join(pubSubELThread, NULL); + | ^~~~~~~~~~~~ + | pthread_kill + +Upstream-Status: Pending + +Signed-off-by: Ryan Eatmon <[email protected]> +--- + examples/pubsub_realtime/server_pubsub_publisher_rt_level.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c b/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c +index 0ec133d1f..caa440596 100644 +--- a/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c ++++ b/examples/pubsub_realtime/server_pubsub_publisher_rt_level.c +@@ -8,6 +8,7 @@ + #include <open62541/types.h> + + #include <signal.h> ++#include <pthread.h> + + #define PUBSUB_CONFIG_PUBLISH_CYCLE_MS 100 + #define PUBSUB_CONFIG_FIELD_COUNT 10 +-- +2.43.0 +
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-tests-fix-typing-of-size_t-in-printf.patch deleted +0 -64
64 lines not on this page · raw message
Signature · 1 line
2.43.0
meta-arago / na / 20260116230225.107700-1-reatmon
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] open62541: Upodate for v1.4
- Submitter: From: Ryan Eatmon <[email protected]>
-From: Jacob Stiffler <[email protected]>
-From: Ryan Eatmon <[email protected]>
+From: Ryan Eatmon <[email protected]>
-From: Jacob Stiffler <[email protected]>
- Date: Date: Fri, 16 Jan 2026 17:02:25 -0600
-Date: Thu, 19 Mar 2020 07:40:42 -0400
-Date: Thu, 29 Jun 2023 11:14:50 -0500
+Date: Fri, 16 Jan 2026 16:40:07 -0600
-Date: Wed, 9 Jan 2019 08:31:27 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 3d0a64f853ced5c66d0020718bdfd2e475353e9d
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-next
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: ltp-ddt: Version bump to 20250930
- Commit SHA: bbe645abaccd1ecfeb0d577ad8b5bfcfb4a1bc93
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed