summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch39
-rw-r--r--meta-oe/recipes-support/liburing/liburing_2.12.bb (renamed from meta-oe/recipes-support/liburing/liburing_2.9.bb)5
2 files changed, 2 insertions, 42 deletions
diff --git a/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch b/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch
deleted file mode 100644
index f744812a3f..0000000000
--- a/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From c55874bc28f66d606527b940d4bd0f266bbaaa2c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Feb 2025 11:51:19 -0800
4Subject: [PATCH] test: Including missing string.h for memcpy
5
6Fixes
7accept-test.c:39:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8
9Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1351]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 test/232c93d07b74.c | 1 +
13 test/accept-test.c | 1 +
14 2 files changed, 2 insertions(+)
15
16diff --git a/test/232c93d07b74.c b/test/232c93d07b74.c
17index d3053b9..d5677d3 100644
18--- a/test/232c93d07b74.c
19+++ b/test/232c93d07b74.c
20@@ -10,6 +10,7 @@
21 #include <stdlib.h>
22 #include <stdint.h>
23 #include <assert.h>
24+#include <string.h>
25
26 #include <pthread.h>
27 #include <errno.h>
28diff --git a/test/accept-test.c b/test/accept-test.c
29index 99f6080..142b2de 100644
30--- a/test/accept-test.c
31+++ b/test/accept-test.c
32@@ -7,6 +7,7 @@
33 #include <sys/socket.h>
34 #include <sys/un.h>
35 #include <assert.h>
36+#include <string.h>
37 #include "liburing.h"
38 #include "helpers.h"
39
diff --git a/meta-oe/recipes-support/liburing/liburing_2.9.bb b/meta-oe/recipes-support/liburing/liburing_2.12.bb
index a645a8e4c4..2519d650a6 100644
--- a/meta-oe/recipes-support/liburing/liburing_2.9.bb
+++ b/meta-oe/recipes-support/liburing/liburing_2.12.bb
@@ -9,9 +9,8 @@ SECTION = "libs"
9LICENSE = "LGPL-2.1-only | MIT" 9LICENSE = "LGPL-2.1-only | MIT"
10LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af" 10LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af"
11 11
12SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https \ 12SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https"
13 file://0001-test-Including-missing-string.h-for-memcpy.patch" 13SRCREV = "e907d6a342e80b70874f93abd440b92b8a40b7bc"
14SRCREV = "08468cc3830185c75f9e7edefd88aa01e5c2f8ab"
15 14
16 15
17DEPENDS:append:libc-musl = " libucontext" 16DEPENDS:append:libc-musl = " libucontext"