summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux.inc
diff options
context:
space:
mode:
authorMateusz Marciniec <mateuszmar2@gmail.com>2022-08-23 21:28:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-25 11:08:06 +0100
commitffd3d1be39ab39a34504dc47c0f1bd2c1bdc91e4 (patch)
treea3e7ffb88f508d49e65a3df58ea3cb94d001b9ef /meta/recipes-core/util-linux/util-linux.inc
parent45be110a8d538eb2259304e8290ad7e9ae4c89ba (diff)
downloadpoky-ffd3d1be39ab39a34504dc47c0f1bd2c1bdc91e4.tar.gz
util-linux: Improve check for magic in configure.ac
Check whether magic.h header exists before defining HAVE_MAGIC. Despite library availability there still can be missing header. Current test doesn't cover that possibility which will lead compilation to fail in case of separate sysroot. Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/263381ddd46eea2293c70bc811273b66bc52087b] (From OE-Core rev: a93e5c4aba34996fdb9b253a4a8529f33ec114f5) Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com> Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux.inc')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 416550a6b2..3868b1c41d 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -36,6 +36,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
36 file://display_testname_for_subtest.patch \ 36 file://display_testname_for_subtest.patch \
37 file://avoid_parallel_tests.patch \ 37 file://avoid_parallel_tests.patch \
38 file://0001-check-for-sys-pidfd.h.patch \ 38 file://0001-check-for-sys-pidfd.h.patch \
39 file://0001-configure.ac-Improve-check-for-magic.patch \
39 " 40 "
40 41
41SRC_URI[sha256sum] = "60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f" 42SRC_URI[sha256sum] = "60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f"