diff options
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux/0001-include-mount-api-utils-avoid-using-sys-mount.h.patch | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index c5698d9cab..4c1105b6ae 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
| @@ -21,6 +21,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin | |||
| 21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ | 21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ |
| 22 | file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ | 22 | file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ |
| 23 | file://0001-tests-helpers-test_sigstate.c-explicitly-reset-SIGIN.patch \ | 23 | file://0001-tests-helpers-test_sigstate.c-explicitly-reset-SIGIN.patch \ |
| 24 | file://0001-include-mount-api-utils-avoid-using-sys-mount.h.patch \ | ||
| 24 | " | 25 | " |
| 25 | 26 | ||
| 26 | SRC_URI[sha256sum] = "be9ad9a276f4305ab7dd2f5225c8be1ff54352f565ff4dede9628c1aaa7dec57" | 27 | SRC_URI[sha256sum] = "be9ad9a276f4305ab7dd2f5225c8be1ff54352f565ff4dede9628c1aaa7dec57" |
diff --git a/meta/recipes-core/util-linux/util-linux/0001-include-mount-api-utils-avoid-using-sys-mount.h.patch b/meta/recipes-core/util-linux/util-linux/0001-include-mount-api-utils-avoid-using-sys-mount.h.patch new file mode 100644 index 0000000000..544f45362d --- /dev/null +++ b/meta/recipes-core/util-linux/util-linux/0001-include-mount-api-utils-avoid-using-sys-mount.h.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 2a9b48d20d74f65ac708b3bcee6a7e2a61aadf88 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Karel Zak <kzak@redhat.com> | ||
| 3 | Date: Thu, 21 Aug 2025 09:59:10 +0200 | ||
| 4 | Subject: [PATCH] include/mount-api-utils: avoid using sys/mount.h | ||
| 5 | |||
| 6 | The file is unnecessary and introduces duplicate #define of MS_* macros. | ||
| 7 | |||
| 8 | Fixes: https://github.com/util-linux/util-linux/issues/3674 | ||
| 9 | Signed-off-by: Karel Zak <kzak@redhat.com> | ||
| 10 | Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/2a9b48d20d74f65ac708b3bcee6a7e2a61aadf88] | ||
| 11 | --- | ||
| 12 | include/mount-api-utils.h | 1 - | ||
| 13 | 1 file changed, 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/include/mount-api-utils.h b/include/mount-api-utils.h | ||
| 16 | index 920d6766a..e35524168 100644 | ||
| 17 | --- a/include/mount-api-utils.h | ||
| 18 | +++ b/include/mount-api-utils.h | ||
| 19 | @@ -6,7 +6,6 @@ | ||
| 20 | #define UTIL_LINUX_MOUNT_API_UTILS | ||
| 21 | |||
| 22 | #ifdef HAVE_LINUX_MOUNT_H | ||
| 23 | -#include <sys/mount.h> | ||
| 24 | #include <linux/mount.h> | ||
| 25 | #include <linux/unistd.h> | ||
| 26 | #include <sys/syscall.h> | ||
| 27 | -- | ||
| 28 | 2.34.1 | ||
| 29 | |||
