[Bug 260233] games/freesweep: patch and unbreak with -fno-common
Date: Sun, 05 Dec 2021 11:00:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260233 Bug ID: 260233 Summary: games/freesweep: patch and unbreak with -fno-common Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/rwestlund/freesweep/issues/11 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fuz@fuz.su CC: rwestlun@gmail.com CC: rwestlun@gmail.com Flags: maintainer-feedback?(rwestlun@gmail.com) Attachment #229918 maintainer-approval?(rwestlun@gmail.com) Flags: Flags: merge-quarterly? Created attachment 229918 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229918&action=edit games/freesweep: patch and unbreak with -fno-common See URL for a github issue describing the problem: > When compiling with a sufficiently modern C compiler (one where -fno-common > is the default), linking fails due to a duplicate symbol CharSet. This is > because the global variable CharSet is defined in sweep.h.in which is included > in all sorts of files. While we are at it: - make portlint happy - move scores file to hier(7) directory - fix plist issues and move plist to a plist file - remove --disable-debug-log which had the opposite effect Tested with Poudriere on armv7 arm64 FreeBSD 13. -- You are receiving this mail because: You are the assignee for the bug.