Created attachment 227722 [details] net/unfs3: patch and unbreak with -fno-common This patch makes the port build on FreeBSD 13 and newer where -fno-common is the default. While we are at it: - project has moved to github, fix WWW and MASTER_SITES - take over maintainership - clean up and reformat Makefile Please MFH if possible. Tested with Poudriere on armv7 arm64 FreeBSD 13.0-RELEASE.
Comment on attachment 227722 [details] net/unfs3: patch and unbreak with -fno-common Approved by: portmgr (unmaintained port) MFH: 2020Q3
yasu, can you take this? Create a Phabricator review before pushing.
(In reply to Koichiro Iwao from comment #2) OK, I'll take it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c35fa18e7434733681f5cc05337bf571241dbae commit 4c35fa18e7434733681f5cc05337bf571241dbae Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-09-06 22:48:54 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-09-29 09:32:13 +0000 net/unfs3: Fix build with -fno-common (FreeBSD 13 or later) * Update MASTER_SITES and WWW as project has moved to GitHub * Pass maintainership to submitter * Clean up and reformat Makefile PR: 258326 Approved by: meta (mentor) MFH: 2021Q3 Differential Revision: https://reviews.freebsd.org/D32220 net/unfs3/Makefile | 23 +++++++++++++---------- net/unfs3/files/patch-Config_exports.h (new) | 11 +++++++++++ net/unfs3/files/patch-Config_exports.l (new) | 18 ++++++++++++++++++ net/unfs3/pkg-descr | 2 +- 4 files changed, 43 insertions(+), 11 deletions(-)
A commit in branch 2021Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6dfa43d8f1d397cc649e85de336555c6b4967bb commit a6dfa43d8f1d397cc649e85de336555c6b4967bb Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-09-06 22:48:54 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-09-29 09:34:29 +0000 net/unfs3: Fix build with -fno-common (FreeBSD 13 or later) * Update MASTER_SITES and WWW as project has moved to GitHub * Pass maintainership to submitter * Clean up and reformat Makefile PR: 258326 Approved by: meta (mentor) MFH: 2021Q3 Differential Revision: https://reviews.freebsd.org/D32220 (cherry picked from commit 4c35fa18e7434733681f5cc05337bf571241dbae) net/unfs3/Makefile | 23 +++++++++++++---------- net/unfs3/files/patch-Config_exports.h (new) | 11 +++++++++++ net/unfs3/files/patch-Config_exports.l (new) | 18 ++++++++++++++++++ net/unfs3/pkg-descr | 2 +- 4 files changed, 43 insertions(+), 11 deletions(-)
Committed to main and MFHed to 2021Q3. Thanks!