| Summary: | games/freeblocks: fix build on FreeBSD 13+ | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Christian Weisgerber <naddy> | ||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Many People | Flags: | amdmi3:
maintainer-feedback+
|
||||
| Priority: | --- | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
LGTM, please commit A commit references this bug: Author: naddy Date: Thu Feb 25 14:58:05 UTC 2021 New revision: 566539 URL: https://svnweb.freebsd.org/changeset/ports/566539 Log: games/freeblocks: fix build on FreeBSD 13/14 This fixes the variable declarations so the port will build with LLVM11's and GCC10's default of -fno-common. PR: 253722 Approved by: amdmi3 Changes: head/games/freeblocks/Makefile head/games/freeblocks/files/patch-src_block.c head/games/freeblocks/files/patch-src_block.h head/games/freeblocks/files/patch-src_game.c head/games/freeblocks/files/patch-src_game.h head/games/freeblocks/files/patch-src_menu.h head/games/freeblocks/files/patch-src_sys.c head/games/freeblocks/files/patch-src_sys.h |
Created attachment 222678 [details] freeblocks.patch games/freeblocks fails to build on FreeBSD 13+ due to the new -fno-common default in LLVM11. The attached patch fixes the variable declarations, so the port will build with LLVM11 and GCC10.