Created attachment 226569 [details] lang/spl: patch and unbreak with -fno-common This fixes the build with -fno-common (default since FreeBSD 13) and pets portclippy. Also pick up maintainership for this unmaintained port. Tested on arm64 FreeBSD 13.0 with Poudriere.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f11e9f154140bf1d042a9f7fce069e21c3eda2b7 commit f11e9f154140bf1d042a9f7fce069e21c3eda2b7 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-07-20 09:42:55 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-07-21 08:07:47 +0000 lang/spl: patch and unbreak with -fno-common PR: 257295 lang/spl/Makefile | 11 ++++------- lang/spl/files/patch-libspl.c (new) | 10 ++++++++++ lang/spl/files/patch-spl.h (new) | 26 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 7 deletions(-)
A commit in branch 2021Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d4aa58587ee9cbbada0016fb4b3157e923c66e6 commit 7d4aa58587ee9cbbada0016fb4b3157e923c66e6 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-07-20 09:42:55 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-07-21 08:09:45 +0000 lang/spl: patch and unbreak with -fno-common PR: 257295 (cherry picked from commit f11e9f154140bf1d042a9f7fce069e21c3eda2b7) lang/spl/Makefile | 11 ++++------- lang/spl/files/patch-libspl.c (new) | 10 ++++++++++ lang/spl/files/patch-spl.h (new) | 26 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 7 deletions(-)