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=33869fa2164945d51d97d2e56bf524499a82e20a

commit 33869fa2164945d51d97d2e56bf524499a82e20a
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Dec 16 22:18:30 2025 +0100

    dpkg-gencontrol: Add a missing POSIX module require
    
    Fixes: commit e313ec63ddf60486db174be8acb4c36ee57925b5
    Changelog: silent
---
 scripts/dpkg-gencontrol.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl
index 0a7d8b47a..8cdb35e04 100755
--- a/scripts/dpkg-gencontrol.pl
+++ b/scripts/dpkg-gencontrol.pl
@@ -358,6 +358,9 @@ if ($binarypackage ne $sourcepackage || $verdiff) {
 }
 
 if (! defined($substvars->get('Installed-Size'))) {
+    # XXX: Switch to builtin::ceil() once we can use v5.40.
+    require POSIX;
+
     my $installed_size = 0;
     my %hardlink;
     my $scan_installed_size = sub {

-- 
Dpkg.Org's dpkg

Reply via email to