diff options
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch new file mode 100644 index 0000000000..128a0c4d8d --- /dev/null +++ b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 1d444772db14f4acb8d47b874462b0cc171ab672 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 17 Feb 2025 12:01:59 -0800 | ||
| 4 | Subject: [PATCH] libmpathutils/uxsock.c: Include string.h for memcpy | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | uxsock.c:72: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 | |||
| 9 | Upstream-Status: Submitted [https://lore.kernel.org/dm-devel/20250217200503.4166910-1-raj.khem@gmail.com/T/#u] | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | Cc: Benjamin Marzinski <bmarzins@redhat.com> | ||
| 12 | Cc: Martin Wilck <mwilck@suse.com> | ||
| 13 | --- | ||
| 14 | libmpathutil/uxsock.c | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/libmpathutil/uxsock.c b/libmpathutil/uxsock.c | ||
| 18 | index 2135476d..a474874e 100644 | ||
| 19 | --- a/libmpathutil/uxsock.c | ||
| 20 | +++ b/libmpathutil/uxsock.c | ||
| 21 | @@ -8,6 +8,7 @@ | ||
| 22 | #include <stdlib.h> | ||
| 23 | #include <unistd.h> | ||
| 24 | #include <stdarg.h> | ||
| 25 | +#include <string.h> | ||
| 26 | #include <fcntl.h> | ||
| 27 | #include <sys/ioctl.h> | ||
| 28 | #include <sys/types.h> | ||
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb index 9f95361063..67e293dac2 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb | |||
| @@ -44,6 +44,7 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=ma | |||
| 44 | file://0010-Always-use-devmapper.patch \ | 44 | file://0010-Always-use-devmapper.patch \ |
| 45 | file://0011-fix-bug-of-do_compile-and-do_install.patch \ | 45 | file://0011-fix-bug-of-do_compile-and-do_install.patch \ |
| 46 | file://0012-add-explicit-dependency-on-libraries.patch \ | 46 | file://0012-add-explicit-dependency-on-libraries.patch \ |
| 47 | file://0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch \ | ||
| 47 | " | 48 | " |
| 48 | 49 | ||
| 49 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f" | 50 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f" |
