mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-libs/open62541: add 1.3.4
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
21
dev-libs/open62541/files/open62541-1.3.4-disable-xdp.patch
Normal file
21
dev-libs/open62541/files/open62541-1.3.4-disable-xdp.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
From: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||
Subject: pubsub: Disable XDP code
|
||||
|
||||
The XDP code assumes < dev-libs/libbpf-0.0.7. Disable it.
|
||||
|
||||
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||
---
|
||||
plugins/ua_pubsub_ethernet.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/plugins/ua_pubsub_ethernet.c
|
||||
+++ b/plugins/ua_pubsub_ethernet.c
|
||||
@@ -43,7 +43,7 @@ static UA_THREAD_LOCAL UA_Byte ReceiveMs
|
||||
#include <linux/if_link.h>
|
||||
|
||||
#if defined __has_include
|
||||
-# if __has_include(<bpf/bpf.h>) && __has_include(<bpf/libbpf.h>) && __has_include(<bpf/xsk.h>)
|
||||
+# if 0
|
||||
# define LIBBPF_EBPF
|
||||
/* Libbpf headers */
|
||||
# include <bpf/bpf.h>
|
||||
Reference in New Issue
Block a user