head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2026.08.30.08.57.44; author he; state Exp; branches; next 1.1; commitid PBS2b2GxXbvhLDTG; 1.1 date 2026.08.30.08.30.36; author he; state Exp; branches; next ; commitid j4BJoCIim7wSBDTG; desc @@ 1.2 log @sysutils/dusage: add reference to upstream pull request. @ text @$NetBSD: patch-src_stats.rs,v 1.1 2026/08/30 08:30:36 he Exp $ Improve portability to 32-bit CPUs. Reported upstream at https://github.com/mihaigalos/dusage/pull/67 --- src/stats.rs.orig 2026-08-30 08:17:54.285693493 +0000 +++ src/stats.rs @@@@ -50,7 +50,7 @@@@ impl Stats { } }; - let fragment_size: u64 = statvfs.fragment_size(); + let fragment_size: u64 = statvfs.fragment_size().into(); // Calculate disk usage stats let size_disk = blocks * fragment_size; @ 1.1 log @sysutils/dusage: fix build on ILP32 targets by adding an .into(). Bump PKGREVISION. @ text @d1 4 a4 1 $NetBSD$ @