From 43d5820af070a488d9e628f96485493d983e5874 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 1 Jan 2023 21:06:05 -0800 Subject: [PATCH] v4l-utils: Diable 64bit time_t on glibc targets it overrides some of LFS64 functions in peculiar ways that it has to undefine _FILE_OFFSET_BITS to silence the funtion definitions from glibc Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb index 5bc63058f6..383be4a543 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb @@ -13,6 +13,10 @@ DEPENDS = "jpeg \ DEPENDS:append:libc-musl = " argp-standalone" DEPENDS:append:class-target = " udev" LDFLAGS:append = " -pthread" +# v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to +# both 32 and 64 bit file APIs. But it does not handle the time side? +# Needs further investigation +GLIBC_64BIT_TIME_FLAGS = "" inherit autotools gettext pkgconfig