]> git.pld-linux.org Git - packages/open62541.git/commitdiff
- adjusted bpf patch to link with libxdp; release 2 auto/th/open62541-1.3.3-2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 24 Oct 2022 20:02:17 +0000 (22:02 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 24 Oct 2022 20:02:17 +0000 (22:02 +0200)
open62541-bpf.patch
open62541.spec

index c10cd875f59a9cb5b5f3d6958d275fe228feb018..9d592ddd0ee3a78be1493f43bb1c827a0969d978 100644 (file)
          UA_free(channelDataEthernet->xdpsocket->umem->buffer);
          UA_free(channelDataEthernet->xdpsocket->umem);
          UA_free(channelDataEthernet->xdpsocket);
+--- open62541-1.3.3/CMakeLists.txt.orig        2022-08-03 10:12:48.000000000 +0200
++++ open62541-1.3.3/CMakeLists.txt     2022-10-24 21:15:11.600677093 +0200
+@@ -1088,7 +1088,7 @@ if(UA_ENABLE_PUBSUB)
+         list(APPEND default_plugin_sources ${PROJECT_SOURCE_DIR}/plugins/ua_pubsub_ethernet.c)
+         find_library(LIB_BPF bpf)
+         if(LIB_BPF)
+-            list(APPEND open62541_LIBRARIES bpf)
++            list(APPEND open62541_LIBRARIES xdp bpf)
+         else()
+             message("bpf library not found. XDP functionalities will not be available.")
+         endif()
index 244d617dc364c08f3103c2564190b5181e021017..cec103cd02ac06a8bbcb05be1d2eb6910aa7d04a 100644 (file)
@@ -7,7 +7,7 @@ Summary:        Open source C implementation of OPC UA
 Summary(pl.UTF-8):     Mająca otwarte źródła, napisana w C implementacja OPC UA
 Name:          open62541
 Version:       1.3.3
-Release:       1
+Release:       2
 License:       MPL v2.0
 Group:         Libraries
 #Source0Download: https://github.com/open62541/open62541/releases
This page took 0.110195 seconds and 4 git commands to generate.