Bug 264998 - games/luola: fix build with -fcommon
Summary: games/luola: fix build with -fcommon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-02 18:32 UTC by Robert Clausecker
Modified: 2022-07-06 19:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
games/luola: fix build with -fcommon (2.50 KB, patch)
2022-07-02 18:32 UTC, Robert Clausecker
fuz: maintainer-approval? (amdmi3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)