This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l-utils: fix formats under alpha/ppc64/mips64 Author: Rosen Penev <ros...@gmail.com> Date: Tue Jul 2 12:33:40 2024 -0700 Unlike libc, kernel headers use long long for 64-bit types. __SANE_USERSPACE_TYPES__ needs to be defined for the exceptions. Fixes -Wformat warnings about llu being used instead of lu. Signed-off-by: Rosen Penev <ros...@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> meson.build | 6 ++++++ 1 file changed, 6 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=09ec3779d2b0ab831bd85d6f5c67ee2e98449451 diff --git a/meson.build b/meson.build index 900377fa0918..15b16971828c 100644 --- a/meson.build +++ b/meson.build @@ -69,6 +69,12 @@ elif host_machine.system() == 'freebsd' v4l2_utils_incdir_arr += 'contrib/freebsd/include' endif +# These platforms default to __[us]64 as long. Add this define to get long long +# as is done elsewhere. +if host_machine.cpu_family() in ['alpha', 'mips64', 'ppc64'] + add_project_arguments('-D__SANE_USERSPACE_TYPES__', language: ['c', 'cpp']) +endif + v4l2_utils_incdir = include_directories(v4l2_utils_incdir_arr) prog_bash = find_program('bash')