Bug 264998

Summary: games/luola: fix build with -fcommon
Product: Ports & Packages Reporter: Robert Clausecker <fuz>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
games/luola: fix build with -fcommon fuz: maintainer-approval? (amdmi3)

Description Robert Clausecker freebsd_committer freebsd_triage 2022-07-02 18:32:32 UTC
Created attachment 235039 [details]
games/luola: fix build with -fcommon

While we are at it, change <sys/syslimits.h> in patch to
<limits.h> to avoid warning.

Tested with Poudriere on armv7 arm64 FreeBSD 13.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-07-06 19:51:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd5e9f5cacbc15953e417a6121aae6a06cf53de0

commit dd5e9f5cacbc15953e417a6121aae6a06cf53de0
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-07-05 21:30:02 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-07-06 19:49:32 +0000

    games/luola: fix build with -fno-common

    PR:             264998
    Submitted by:   fuz@fuz.su

 games/luola/Makefile                      |  8 ++------
 games/luola/files/patch-src__fs.h         |  2 +-
 games/luola/files/patch-src_pilot.c (new) | 11 +++++++++++
 games/luola/files/patch-src_pilot.h (new) | 11 +++++++++++
 4 files changed, 25 insertions(+), 7 deletions(-)