This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=68b9387e63ba09f97ffa34d66c71b3895ec174bd

commit 68b9387e63ba09f97ffa34d66c71b3895ec174bd
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Nov 3 18:29:34 2024 +0100

    build: Undefine _TIME_BITS when checking for the base off_t size
    
    On glibc systems the off_t definition depends on whether
    _FILE_OFFSET_BITS is defined and to what, which we undefine to get
    the base type, but if _TIME_BITS is defined to 64, then it is expected
    to match the _FILE_OFFSET_BITS size, otherwise the compilation fails
    and we get a 0 as the off_t type size.
---
 m4/dpkg-arch.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/dpkg-arch.m4 b/m4/dpkg-arch.m4
index 8859289b5..3d6652223 100644
--- a/m4/dpkg-arch.m4
+++ b/m4/dpkg-arch.m4
@@ -80,6 +80,7 @@ AC_DEFUN([DPKG_ARCH_ABI], [
   AC_CHECK_SIZEOF([long double])
   AC_CHECK_SIZEOF([void *])
   AC_CHECK_SIZEOF([off_t], [], [[
+#undef _TIME_BITS
 #undef _FILE_OFFSET_BITS
 #undef _LARGE_FILES
 #include <sys/types.h>

-- 
Dpkg.Org's dpkg

Reply via email to