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: meson.build: fix arm _TIME_BITS=64 error
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Sat Apr 12 12:30:13 2025 +0200

Undefine _TIME_BITS to avoid this error on 32-bit arm:

/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed 
only with _FILE_OFFSET_BITS=64"

Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>

 meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=d517cfdcdc16533ab7e06e97c07ca089cf261aef
diff --git a/meson.build b/meson.build
index df28e61d7d28..8b4713828c28 100644
--- a/meson.build
+++ b/meson.build
@@ -54,8 +54,12 @@ v4l2_wrapper_args = [
     # As the library needs to provide both 32-bit and 64-bit versions
     # of file operations, disable transparent large file support (fixes
     # 'Error: symbol `open64/mmap64' is already defined' compile failure
-    # otherwise)
+    # otherwise).
+    #
+    # Also disable _TIME_BITS=64 since this is allowed only with
+    # _FILE_OFFSET_BITS=64, which is now 32.
     '-U_FILE_OFFSET_BITS',
+    '-U_TIME_BITS',
     '-D_FILE_OFFSET_BITS=32',
     '-D_LARGEFILE64_SOURCE',
 ]

Reply via email to