Created attachment 228518 [details] net-mgmt/sdig: fix build with -fno-common Since FreeBSD 13 has been released, -fno-common is the default option for the C compiler. This patch removes an unused global variable to make the build succeed with this option. While we are at it... - regenerate the existing patches - add USES=autoreconf as the port otherwise fails to build, apparently due to a time stamp issue - define LICENSE Tested with Poudriere on armv7 arm64 FreeBSD 13.
Maintainer timeout.
Comment on attachment 228518 [details] net-mgmt/sdig: fix build with -fno-common Maintainer timeout.
^Triage: Reset assignee, open to take
Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3436c34cf6a6663dce899fe2d33ffdf3abf841f0 commit 3436c34cf6a6663dce899fe2d33ffdf3abf841f0 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-10-08 14:38:45 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-10-27 15:54:06 +0000 net-mgmt/sdig: Fix build with -fno-common * Add license information * Reformat Makefile with portfmt PR: 259006 Approved by: maintainer timeout (> 2 weeks) Differential Revision: https://reviews.freebsd.org/D32661 net-mgmt/sdig/Makefile | 13 ++++++++----- net-mgmt/sdig/files/patch-sdig.conf | 6 +++--- net-mgmt/sdig/files/patch-sdig.conf.5 | 8 ++++---- net-mgmt/sdig/files/patch-src-output.c | 4 ++-- net-mgmt/sdig/files/patch-src_sdig.h (new) | 17 +++++++++++++++++ 5 files changed, 34 insertions(+), 14 deletions(-)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=82a0987e8517e98e339ab648bc76fefefc517390 commit 82a0987e8517e98e339ab648bc76fefefc517390 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-10-08 14:38:45 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-10-27 16:00:35 +0000 net-mgmt/sdig: Fix build with -fno-common * Add license information * Reformat Makefile with portfmt PR: 259006 Approved by: maintainer timeout (> 2 weeks) Differential Revision: https://reviews.freebsd.org/D32661 (cherry picked from commit 3436c34cf6a6663dce899fe2d33ffdf3abf841f0) net-mgmt/sdig/Makefile | 13 ++++++++----- net-mgmt/sdig/files/patch-sdig.conf | 6 +++--- net-mgmt/sdig/files/patch-sdig.conf.5 | 8 ++++---- net-mgmt/sdig/files/patch-src-output.c | 4 ++-- net-mgmt/sdig/files/patch-src_sdig.h (new) | 17 +++++++++++++++++ 5 files changed, 34 insertions(+), 14 deletions(-)
Committed and merged to quarterly branch. Thanks!