rdma-core: upgrade 42.0 -> 44.0

0001-examples-Include-alloca.h-for-strdupa.patch
removed since it's included in 44.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2023-02-20 15:40:18 +08:00 committed by Khem Raj
parent 8bb05209c6
commit 0d69dd2a4a
2 changed files with 2 additions and 33 deletions

View File

@ -1,29 +0,0 @@
From a6c547e46bbadd2c08be9944a85308f6625263cb Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 23:15:44 -0700
Subject: [PATCH] examples: Include alloca.h for strdupa
musl defines strdupa via a macro which uses alloca() therefore include
the header to get the prototype
Upstream-Status: Submitted [https://github.com/linux-rdma/rdma-core/pull/1212]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
libibverbs/examples/asyncwatch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libibverbs/examples/asyncwatch.c b/libibverbs/examples/asyncwatch.c
index 724796e58..842b94180 100644
--- a/libibverbs/examples/asyncwatch.c
+++ b/libibverbs/examples/asyncwatch.c
@@ -36,6 +36,7 @@
#include <endian.h>
#include <getopt.h>
#include <string.h>
+#include <alloca.h>
#include <util/compiler.h>
#include <infiniband/verbs.h>
--
2.37.2

View File

@ -5,10 +5,8 @@ SECTION = "libs"
DEPENDS = "libnl"
RDEPENDS:${PN} = "bash perl"
SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https \
file://0001-examples-Include-alloca.h-for-strdupa.patch \
"
SRCREV = "196bad56ed060612e22674b668b5ec3d8659ade3"
SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https"
SRCREV = "91392a91eb41affee3bd75dc7d03eb86b4854aea"
S = "${WORKDIR}/git"
#Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md