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=b118d11f783cea5da2ac72235aebce14c13fc0c6

commit b118d11f783cea5da2ac72235aebce14c13fc0c6 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Wed May 17 23:44:11 2023 +0200

    Dpkg::Vendor::Debian: Ignore musl libc systems for time64 suppression
    
    On musl libc all ports use time64.
---
 scripts/Dpkg/Vendor/Debian.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index b82901518..9285a61cf 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -178,6 +178,7 @@ sub set_build_features {
         # On glibc, new ports default to time64, old ports currently default
         # to time32, so we track the latter as that is a list that is not
         # going to grow further, and might shrink.
+        # On musl libc based systems all ports use time64.
         my %time32_arch = map { $_ => 1 } qw(
             arm
             armeb
@@ -208,7 +209,8 @@ sub set_build_features {
             sparc
         );
         if ($abi_bits != 32 or
-            not exists $time32_arch{$arch}) {
+            not exists $time32_arch{$arch} or
+            $libc eq 'musl') {
             $use_feature{future}{time64} = 0;
         } elsif ($libc eq 'gnu') {
             # On glibc 64-bit time_t support requires LFS.

-- 
Dpkg.Org's dpkg

Reply via email to