Created attachment 200455 [details] htop.diff On FreeBSD/powerpc htop reports bogus memory sizes. Add the patch to the port I just submitted upstream to fix it. Before patching: https://people.freebsd.org/~tobik/htop-powerpc-bug/before.png After patching: https://people.freebsd.org/~tobik/htop-powerpc-bug/after.png
A commit references this bug: Author: tobik Date: Tue Jan 8 15:30:14 UTC 2019 New revision: 489709 URL: https://svnweb.freebsd.org/changeset/ports/489709 Log: sysutils/htop: Fix memory display in the header On amd64 it works correctly, but it breaks on powerpc, due to using types with the wrong size when requesting various sysctls. PR: 234357 Submitted by: tobik Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer timeout, 2 weeks) Changes: head/sysutils/htop/Makefile head/sysutils/htop/files/ head/sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c
A commit references this bug: Author: tobik Date: Fri Jan 11 06:00:27 UTC 2019 New revision: 489943 URL: https://svnweb.freebsd.org/changeset/ports/489943 Log: MFH: r489709 sysutils/htop: Fix memory display in the header On amd64 it works correctly, but it breaks on powerpc, due to using types with the wrong size when requesting various sysctls. PR: 234357 Submitted by: tobik Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer timeout, 2 weeks) Approved by: ports-secteam runtime fix blanket Changes: _U branches/2019Q1/ branches/2019Q1/sysutils/htop/Makefile branches/2019Q1/sysutils/htop/files/