mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-libs/open62541: Bump version to v1.2.1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
33
dev-libs/open62541/files/open62541-1.2.1-headers.patch
Normal file
33
dev-libs/open62541/files/open62541-1.2.1-headers.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
From a5697f1eb69822e172bc31d1549222c8ca718844 Mon Sep 17 00:00:00 2001
|
||||
From: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||
Date: Sun, 12 Jul 2020 10:39:31 +0200
|
||||
Subject: [PATCH 2/3] cmake: Install ETF and XDP plugin headers
|
||||
|
||||
When the corresponding features are enabled, the headers should be installed as
|
||||
well.
|
||||
|
||||
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: open62541/CMakeLists.txt
|
||||
===================================================================
|
||||
--- open62541.orig/CMakeLists.txt
|
||||
+++ open62541/CMakeLists.txt
|
||||
@@ -907,6 +907,7 @@ if(UA_ENABLE_PUBSUB)
|
||||
list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_udp.h)
|
||||
list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_udp.c)
|
||||
if(UA_ENABLE_PUBSUB_ETH_UADP_ETF)
|
||||
+ list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_ethernet_etf.h)
|
||||
list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_ethernet_etf.c)
|
||||
endif()
|
||||
if(UA_ENABLE_PUBSUB_ETH_UADP)
|
||||
@@ -916,6 +917,7 @@ if(UA_ENABLE_PUBSUB)
|
||||
if(UA_ENABLE_PUBSUB_ETH_UADP_XDP)
|
||||
if(EXISTS "${XDP_LIBRARY}")
|
||||
list(APPEND open62541_LIBRARIES ${XDP_LIBRARY})
|
||||
+ list(APPEND default_plugin_headers ${PROJECT_SOURCE_DIR}/plugins/include/open62541/plugin/pubsub_ethernet_xdp.h)
|
||||
list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_ethernet_xdp.c)
|
||||
else()
|
||||
MESSAGE(WARNING "samples in bpf-next directory were not built. Build the bpf-next to use XDP")
|
||||
Reference in New Issue
Block a user