Created attachment 217436 [details] Patch file Fix build with '-fno-common', default of GCC 10 and Clang 11.
A commit references this bug: Author: zeising Date: Sat Aug 22 08:25:51 UTC 2020 New revision: 545744 URL: https://svnweb.freebsd.org/changeset/ports/545744 Log: sysutils/htop: Fix build with -fno-common Fix the build of sysutils/htop with -fno-common, which is the default in llvm 11 (and gcc 10) PR: 248823 Submitted by: Yasuhiro KIMURA MFH: 2020Q3 (iplicit, -fno-common fixes, ok by joenum) Changes: head/sysutils/htop/files/patch-CRT.h head/sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c head/sysutils/htop/files/patch-freebsd_FreeBSDProcessList.h
Committed, I'll merge it to Q3 in a bit.
A commit references this bug: Author: zeising Date: Sat Aug 22 08:34:21 UTC 2020 New revision: 545749 URL: https://svnweb.freebsd.org/changeset/ports/545749 Log: MFH: r545744 sysutils/htop: Fix build with -fno-common Fix the build of sysutils/htop with -fno-common, which is the default in llvm 11 (and gcc 10) PR: 248823 Submitted by: Yasuhiro KIMURA Approved by: ports-secteam (joenum, implicit, -fno-common fixes) Changes: _U branches/2020Q3/ branches/2020Q3/sysutils/htop/files/patch-CRT.h branches/2020Q3/sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c branches/2020Q3/sysutils/htop/files/patch-freebsd_FreeBSDProcessList.h
All done and merged, thanks!