diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2024-03-20 17:58:40 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-03-27 01:27:44 +0200 |
commit | 705601781b6ab4f3035719ddaf1e442f4a5e8737 (patch) | |
tree | b4f47dda8ef90268aafa8649e13a2e44b939d89d /utils/hooks/pre-push | |
parent | 0fbc801a1d186a6f2d11fcbe5854711497746a7f (diff) |
v4l2: Unset _TIME_BITS in addition to _FILE_OFFSET_BITS
libcamera fails to build from source in Debian/Ubuntu on 32-bit
architectures under 64-bit time_t (to avoid the 'year 2038
problem'), because its v4l2 module legitimately un-sets
_FILE_OFFSET_BITS for building but this is not allowed without
also unsetting _TIME_BITS.
Having verified that nothing in this module is sensitive to 64-bit
time_t (none of the functions it intercepts handle time), we also
unset _TIME_BITS to allow this to build as before.
Signed-off-by: Steve Langasek <steve.langasek@canonical.com>
Reviewed-by: Dylan Aïssi <dylan.aissi@collabora.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/hooks/pre-push')
0 files changed, 0 insertions, 0 deletions