Created attachment 237894 [details] net/traff: fix build with -fno-common While we are at it: - define LICENSE - fix missing LIB_DEPENDS on libargp.so Tested with Poudriere on armv7 arm64 FreeBSD 13.1. Please MFH if possible.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=98a1bc7f0d2f5539100fe22e27f83cedb29ab040 commit 98a1bc7f0d2f5539100fe22e27f83cedb29ab040 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-11-07 19:08:14 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-11-17 07:03:33 +0000 net/traff: fix build with -fno-common Also: * define LICENSE * fix missing LIB_DEPENDS on libargp.so PR: 267594 Reported by: fuz@fuz.su Approved by: daniel@freebsd.ro (maintainer, timeout 2 weeks) MFH: 2022Q4 (build fix) net/traff/Makefile | 9 +++++---- net/traff/files/patch-readconfig.c (new) | 11 +++++++++++ net/traff/files/patch-readconfig.h | 12 ++++++++++-- 3 files changed, 26 insertions(+), 6 deletions(-)
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0330fdec13705154dfffcbd8cfa0cf8760699353 commit 0330fdec13705154dfffcbd8cfa0cf8760699353 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-11-07 19:08:14 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-11-17 07:04:18 +0000 net/traff: fix build with -fno-common Also: * define LICENSE * fix missing LIB_DEPENDS on libargp.so PR: 267594 Reported by: fuz@fuz.su Approved by: daniel@freebsd.ro (maintainer, timeout 2 weeks) MFH: 2022Q4 (build fix) (cherry picked from commit 98a1bc7f0d2f5539100fe22e27f83cedb29ab040) net/traff/Makefile | 9 +++++---- net/traff/files/patch-readconfig.c (new) | 11 +++++++++++ net/traff/files/patch-readconfig.h | 12 ++++++++++-- 3 files changed, 26 insertions(+), 6 deletions(-)
Committed and merged to 2022Q4, Thanks!