Bug 257155 - games/nbsdgames: fix build on ppc64
Summary: games/nbsdgames: fix build on ppc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Kevin Bowling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-13 15:23 UTC by Robert Clausecker
Modified: 2021-07-14 01:49 UTC (History)
2 users (show)

See Also:
kbowling: merge-quarterly+


Attachments
games/nbsdgames: fix build on ppc64 (1.07 KB, patch)
2021-07-13 15:23 UTC, Robert Clausecker
fuz: maintainer-approval+
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 2021-07-13 15:23:10 UTC
Created attachment 226430 [details]
games/nbsdgames: fix build on ppc64

The compiler used there does not seem to understand -Wno-unused-result.
Get rid of that warning option to unbreak the build.

Please merge into the quarterly branch so a quarterly package can be built, too.

Patch tested on armv7 arm64 FreeBSD 13 w/ poudriere.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-07-14 01:47:50 UTC
A commit in branch main references this bug:

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

commit 5c1e177f89761a9eaeb5b4d8c31f76b11df79b75
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-07-14 01:45:51 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-07-14 01:47:18 +0000

    games/nbsdgames: fix build on ppc64

    PR:             257155

 games/nbsdgames/files/patch-Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-07-14 01:48:51 UTC
A commit in branch 2021Q3 references this bug:

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

commit f82271507bdc71c2126ec5c20ec98542d4c2d481
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-07-14 01:45:51 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-07-14 01:47:58 +0000

    games/nbsdgames: fix build on ppc64

    PR:             257155
    (cherry picked from commit 5c1e177f89761a9eaeb5b4d8c31f76b11df79b75)

 games/nbsdgames/files/patch-Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Kevin Bowling freebsd_committer freebsd_triage 2021-07-14 01:49:18 UTC
Thanks for your contribution!