Bug 256555

Summary: games/pacmanarena FreeBSD13/14 bugfix
Product: Ports & Packages Reporter: David Marec <david>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Many People CC: danfe
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
remove symbol from header file
none
remove symbol from header file
none
remove symbol from header file
none
remove symbol from header file none

Description David Marec 2021-06-11 18:22:21 UTC
Created attachment 225741 [details]
remove symbol from header file

Add a patch to fix "duplicate symbol" compilation error.

No need to define 'keyboard_map' in a header file, as it's only required in 'input.c'.

Review GL dependencies.
Comment 1 David Marec 2021-06-11 18:26:39 UTC
Created attachment 225742 [details]
remove symbol from header file

Testport succeeded running FreeBSD14.
Comment 2 David Marec 2021-06-11 18:58:36 UTC
Created attachment 225745 [details]
remove symbol from header file

Remove # $FreeBSD$ from Makefiles.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2021-06-11 22:52:46 UTC
^Triage: unfortunately I am way too overcommitted to look after this myself.
Comment 4 David Marec 2021-06-13 19:47:13 UTC
Created attachment 225772 [details]
remove symbol from header file

Bump port revision
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-06-15 04:54:34 UTC
A commit in branch main references this bug:

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

commit 5b4e16b26a1214e077376dacc664f57f3664f913
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-06-15 04:52:36 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-06-15 04:52:47 +0000

    games/pacmanarena: unbreak the build in the -fno-common mode

    Remove needless ``char *keyboard_map'' definition from the header file
    to unbreak the build against modern compilers, e.g. Clang 11 and GCC 10.

    PR:     256555

 games/pacmanarena/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)