summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/rdma-core/rdma-core/0001-examples-Include-alloca.h-for-strdupa.patch29
-rw-r--r--meta-networking/recipes-support/rdma-core/rdma-core_44.0.bb (renamed from meta-networking/recipes-support/rdma-core/rdma-core_42.0.bb)6
2 files changed, 2 insertions, 33 deletions
diff --git a/meta-networking/recipes-support/rdma-core/rdma-core/0001-examples-Include-alloca.h-for-strdupa.patch b/meta-networking/recipes-support/rdma-core/rdma-core/0001-examples-Include-alloca.h-for-strdupa.patch
deleted file mode 100644
index cb472d9db9..0000000000
--- a/meta-networking/recipes-support/rdma-core/rdma-core/0001-examples-Include-alloca.h-for-strdupa.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From a6c547e46bbadd2c08be9944a85308f6625263cb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 23:15:44 -0700
4Subject: [PATCH] examples: Include alloca.h for strdupa
5
6musl defines strdupa via a macro which uses alloca() therefore include
7the header to get the prototype
8
9Upstream-Status: Submitted [https://github.com/linux-rdma/rdma-core/pull/1212]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 libibverbs/examples/asyncwatch.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/libibverbs/examples/asyncwatch.c b/libibverbs/examples/asyncwatch.c
16index 724796e58..842b94180 100644
17--- a/libibverbs/examples/asyncwatch.c
18+++ b/libibverbs/examples/asyncwatch.c
19@@ -36,6 +36,7 @@
20 #include <endian.h>
21 #include <getopt.h>
22 #include <string.h>
23+#include <alloca.h>
24
25 #include <util/compiler.h>
26 #include <infiniband/verbs.h>
27--
282.37.2
29
diff --git a/meta-networking/recipes-support/rdma-core/rdma-core_42.0.bb b/meta-networking/recipes-support/rdma-core/rdma-core_44.0.bb
index a2d5142953..f5b80c712e 100644
--- a/meta-networking/recipes-support/rdma-core/rdma-core_42.0.bb
+++ b/meta-networking/recipes-support/rdma-core/rdma-core_44.0.bb
@@ -5,10 +5,8 @@ SECTION = "libs"
5DEPENDS = "libnl" 5DEPENDS = "libnl"
6RDEPENDS:${PN} = "bash perl" 6RDEPENDS:${PN} = "bash perl"
7 7
8SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https"
9 file://0001-examples-Include-alloca.h-for-strdupa.patch \ 9SRCREV = "91392a91eb41affee3bd75dc7d03eb86b4854aea"
10 "
11SRCREV = "196bad56ed060612e22674b668b5ec3d8659ade3"
12S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
13 11
14#Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md 12#Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md