misc/agtop: Fix build on aarch64 #639

Open
MBrassey opened 5:00am on October 14, 2026 wants to merge 24 Ξ” into freebsd/freebsd-ports main from
agtop-aarch64
Diff Delta:
24
About 5 Diff Delta/hour
Classified as:  Bug Fix

MBrassey's Description of Work

c_char is unsigned on aarch64, so the [0i8; 256] buffer passed to procstat_get_socket_info() as *mut c_char fails to type-check (E0308), breaking the 144arm64 package build. The patch declares the buffer with c_char instead.

Bumps PORTREVISION.

Failing log: https://pkg-status.freebsd.org/ampere3/data/144arm64-default/28a1681357b6/logs/agtop-2.5.0.log

2 total changed files
Loading changes...
Loading changes...
You’ve reached the end of the pull request
No more diffs beyond this point